]> granicus.if.org Git - re2c/commit
Use 'std::valarray' instead of 'std::vector' to avoid copy semantics.
authorUlya Trofimovich <skvadrik@gmail.com>
Mon, 28 Mar 2016 18:59:23 +0000 (19:59 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Mon, 28 Mar 2016 18:59:23 +0000 (19:59 +0100)
commit7204740ab2e5c365ddcb9e60b59833560fed0298
tree8de8f3cad370d08268a1576e47d3a0aa586fda05
parent81b5c9cb65b14a85d2cccef1c471e10ce6ac8f21
Use 'std::valarray' instead of 'std::vector' to avoid copy semantics.

Had to rename 'INFINITY' to 'SCC_INF': inclusion of '<valarray.h>'
pulled '<math.h>' and introduced name collision.
re2c/src/ir/adfa/adfa.cc
re2c/src/ir/adfa/adfa.h
re2c/src/ir/dfa/determinization.cc
re2c/src/ir/dfa/dfa.h
re2c/src/ir/dfa/fillpoints.cc
re2c/src/ir/nfa/nfa.cc
re2c/src/ir/nfa/nfa.h
re2c/src/ir/rule.h
re2c/src/ir/skeleton/skeleton.h
re2c/src/ir/skeleton/unreachable_nullable.cc