]> granicus.if.org Git - re2c/commit
Now regexp AST is immutable.
authorUlya Trofimovich <skvadrik@gmail.com>
Mon, 22 Feb 2016 13:17:57 +0000 (13:17 +0000)
committerUlya Trofimovich <skvadrik@gmail.com>
Mon, 22 Feb 2016 13:17:57 +0000 (13:17 +0000)
commit915296e17853f5f5cb62900cee0d122c911bacef
tree13ae44978f4f4214cbf0768fb49ee3a91b3d28a0
parent2f643f40faeab9ebf0d780e6d0c205b4949ffb7d
Now regexp AST is immutable.

We don't do any transformations on AST anyway: it is analysed
and converted to NFA. This patch simply fixes the fact that AST
is immutable.
20 files changed:
re2c/bootstrap/src/parse/lex.cc
re2c/bootstrap/src/parse/parser.cc
re2c/bootstrap/src/parse/y.tab.h
re2c/src/ir/dfa/determinization.cc
re2c/src/ir/nfa/nfa.cc
re2c/src/ir/nfa/nfa.h
re2c/src/ir/regexp/encoding/range_suffix.cc
re2c/src/ir/regexp/encoding/range_suffix.h
re2c/src/ir/regexp/encoding/utf16/utf16_regexp.cc
re2c/src/ir/regexp/encoding/utf16/utf16_regexp.h
re2c/src/ir/regexp/encoding/utf8/utf8_regexp.cc
re2c/src/ir/regexp/encoding/utf8/utf8_regexp.h
re2c/src/ir/regexp/regexp.cc
re2c/src/ir/regexp/regexp.h
re2c/src/ir/regexp/split_charset.cc
re2c/src/parse/lex.re
re2c/src/parse/parser.h
re2c/src/parse/parser.ypp
re2c/src/parse/scanner.h
re2c/src/parse/spec.h