]> granicus.if.org Git - re2c/commit
Moved label assignment out of global scope to 're2c::OutputFile'.
authorUlya Trofimovich <skvadrik@gmail.com>
Wed, 27 May 2015 21:24:19 +0000 (22:24 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Wed, 27 May 2015 21:24:19 +0000 (22:24 +0100)
commitff66ec1a8d7763f30164e968886d3cb520896499
treea7eacdf8750aa33f844831fe0b36bdfbe46d69e5
parent128611ad3ec377163552409827ec758ca6777b7f
Moved label assignment out of global scope to 're2c::OutputFile'.

Now label assignment is done with the help of a simple class
're2c::Label' that has very few operations.
21 files changed:
re2c/Makefile.am
re2c/src/codegen/bitmap.cc
re2c/src/codegen/bitmap.h
re2c/src/codegen/emit_dfa.cc
re2c/src/codegen/go.h
re2c/src/codegen/go_construct.cc
re2c/src/codegen/go_emit.cc
re2c/src/codegen/label.cc [new file with mode: 0644]
re2c/src/codegen/label.h [new file with mode: 0644]
re2c/src/codegen/output.cc
re2c/src/codegen/output.h
re2c/src/globals.h
re2c/src/main.cc
re2c/src/parse/scanner.cc
re2c/test/parse_date.g.c
re2c/test/php20150211_json_scanner.igc.c
re2c/test/php20150211_parse_date.ig.c
re2c/test/php20150211_parse_iso_intervals.ig.c
re2c/test/php20150211_phpdbg_lexer.igcFd.c
re2c/test/php20150211_var_unserializer.ig.c
re2c/test/php20150211_zend_ini_scanner.igcFd--case-inverted.c