Bug fix for eofTrans. When not using indicies we can't use a transitions's id
authorthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Sun, 20 Apr 2008 23:16:19 +0000 (23:16 +0000)
committerthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Sun, 20 Apr 2008 23:16:19 +0000 (23:16 +0000)
commitf0d3bd96b1036498f04714502b3dc924ee20fbbd
tree13f17c169903e9e5892c0197ecf712ce36af94c9
parenta589fd34e0aeec9ab1912d937dddb222b231980d
Bug fix for eofTrans. When not using indicies we can't use a transitions's id
to identify the transition to take. Instead add the transition to the end of
the list and store it's position in a new var called pos. The pos var is then
used as the index.

git-svn-id: http://svn.complang.org/ragel/trunk@437 052ea7fc-9027-0410-9066-f65837a77df0
14 files changed:
redfsm/redfsm.h
rlgen-cd/flatcodegen.cpp
rlgen-cd/fsmcodegen.h
rlgen-cd/tabcodegen.cpp
rlgen-csharp/flatcodegen.cpp
rlgen-csharp/fsmcodegen.h
rlgen-csharp/tabcodegen.cpp
rlgen-java/javacodegen.cpp
rlgen-java/javacodegen.h
rlgen-ruby/ruby-codegen.h
rlgen-ruby/ruby-flatcodegen.cpp
rlgen-ruby/ruby-tabcodegen.cpp
test/scan2.rl [new file with mode: 0644]
test/scan3.rl [new file with mode: 0644]