diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-04-18 21:13:24 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-04-18 21:13:24 -0700 |
commit | 264e840b7e10ad7bc28e8649fa841364223e56fa (patch) | |
tree | ae117cb1cbf6ec761e87dbf9a2b11d11f9296cda /txr.h | |
parent | 362187f4d0c0ff80320cd52634c8b6c245e27ae6 (diff) | |
download | txr-264e840b7e10ad7bc28e8649fa841364223e56fa.tar.gz txr-264e840b7e10ad7bc28e8649fa841364223e56fa.tar.bz2 txr-264e840b7e10ad7bc28e8649fa841364223e56fa.zip |
Bugfix: allow newline in regex parsing from string.
* parser.l (grammar): The newline character is incorrectly
handled by the same rule under the SREGEX and REGEX states.
In the SREGEX state, just return it as a REGCHAR, not
forgetting to increment the line number.
Diffstat (limited to 'txr.h')
0 files changed, 0 insertions, 0 deletions