]> granicus.if.org Git - re2c/commit
Better representation for rule actions; omit line info for autogenerated actions.
authorUlya Trofimovich <skvadrik@gmail.com>
Tue, 4 Aug 2015 12:38:57 +0000 (13:38 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Tue, 4 Aug 2015 12:38:57 +0000 (13:38 +0100)
commit1d4462d5d531dc707a442bc984283ea51f77338c
tree525f127f234b915785596f321c8195b802b835e2
parent6bfa100ffc0e73557464aed15a59407ce666534c
Better representation for rule actions; omit line info for autogenerated actions.

Since there's no such code in source file, there's no sense in
pointing into it. Updated test.
12 files changed:
re2c/Makefile.am
re2c/src/codegen/emit_action.cc
re2c/src/codegen/prepare_dfa.cc
re2c/src/ir/regexp/regexp_rule.h
re2c/src/parse/code.cc [new file with mode: 0644]
re2c/src/parse/code.h [new file with mode: 0644]
re2c/src/parse/parser.h
re2c/src/parse/parser.ypp
re2c/src/parse/scanner.h
re2c/src/parse/scanner_lex.re
re2c/src/parse/token.h [deleted file]
re2c/test/condition_13.cg.c