]> granicus.if.org Git - re2c/commit
Parse configuration strings in the same way as character strings and classes.
authorUlya Trofimovich <skvadrik@gmail.com>
Sun, 23 Aug 2015 10:34:13 +0000 (11:34 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Sun, 23 Aug 2015 10:34:13 +0000 (11:34 +0100)
commit7bed1b9631475bd58caea306e8f1e69e93f0ee07
treed56fbdf0cd94519a2fe65f6f9a236c0bfead4406
parent33fe08f88dfcfc4defeed80d04aaa90c033e0bb5
Parse configuration strings in the same way as character strings and classes.

re2c allows configuration strings to contain escape sequencs as long
as the escaped code points fit into 1-byte range.

Finally both 'Scanner::unescape' functions can be removed along with
a whole bunch of [-Wsign-conversion] warnings. :)
re2c/Makefile.am
re2c/bootstrap/src/parse/scanner_lex.cc
re2c/src/ir/regexp/regexp.cc
re2c/src/parse/parser.ypp
re2c/src/parse/scanner.h
re2c/src/parse/scanner_lex.re
re2c/src/parse/unescape.cc
re2c/src/util/substr.h [deleted file]
re2c/test/condition_01a.c.c