Added two new statements: prepush and postpop. These are code blocks that are
authorthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Sat, 15 Sep 2007 19:46:38 +0000 (19:46 +0000)
committerthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Sat, 15 Sep 2007 19:46:38 +0000 (19:46 +0000)
commita542d65cd8ddadcdb76e2a69d1a36b7ed3fed9c7
tree1be15ad6772c07d4896d66e42430bc0ba34ecaa6
parent57031d5a412ebdb3548226398acd2e1be933cb16
Added two new statements: prepush and postpop. These are code blocks that are
written out during call and return statements immediately before pushing the
current state to the state stack on a call and immediately after popping the
current state on a return. These can be used to implement a dynamically
resizable stack. Test cases are in test/recdescent?.rl.

git-svn-id: http://svn.complang.org/ragel/trunk@280 052ea7fc-9027-0410-9066-f65837a77df0
23 files changed:
ragel.vim
ragel/parsedata.cpp
ragel/parsedata.h
ragel/rlparse.kh
ragel/rlparse.kl
ragel/rlscan.rl
ragel/xmlcodegen.cpp
redfsm/gendata.cpp
redfsm/gendata.h
redfsm/xmlparse.kh
redfsm/xmlparse.kl
redfsm/xmltags.gperf
rlgen-cd/flatcodegen.cpp
rlgen-cd/gotocodegen.cpp
rlgen-cd/ipgotocodegen.cpp
rlgen-cd/tabcodegen.cpp
rlgen-java/javacodegen.cpp
rlgen-ruby/rbx-gotocodegen.cpp
rlgen-ruby/ruby-flatcodegen.cpp
rlgen-ruby/ruby-tabcodegen.cpp
test/recdescent1.rl [new file with mode: 0644]
test/recdescent2.rl [new file with mode: 0644]
test/recdescent3.rl [new file with mode: 0644]