]> granicus.if.org Git - re2c/commit
Parse inplace configurations in lexer; don't pass them to parser.
authorUlya Trofimovich <skvadrik@gmail.com>
Mon, 12 Oct 2015 12:32:45 +0000 (13:32 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Mon, 12 Oct 2015 12:56:07 +0000 (13:56 +0100)
commit15bfced93641ae86f16cc9e1c792da5aa720f543
treea63158aea9b060ceff415e3330088bcd5722b9f5
parent24437fb4c551b68afedb49049e78bf8a7aedcded
Parse inplace configurations in lexer; don't pass them to parser.

This removes a lot of copy-pasting.

The change of error location in test is insignificant: the reported
location was incorrect and it still remains imprecise.
re2c/bootstrap/src/parse/parser.cc
re2c/bootstrap/src/parse/scanner_lex.cc
re2c/bootstrap/src/parse/y.tab.h
re2c/src/ir/regexp/regexp.cc
re2c/src/parse/parser.ypp
re2c/src/parse/scanner.h
re2c/src/parse/scanner_lex.re
re2c/test/repeat-07_error.gir.c