diff options
author | Adrian Thurston <thurston@complang.org> | 2007-03-10 23:20:39 +0000 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2007-03-10 23:20:39 +0000 |
commit | 772cfeae2e912c8341e33f3b4eb8ca8907333cb7 (patch) | |
tree | 68fe9a9d67ae300733221b3fe1bc63fc7e194de7 /examples | |
parent | e198d5b994667dd87b75d802ba3441a6c38436d0 (diff) | |
download | ragel-772cfeae2e912c8341e33f3b4eb8ca8907333cb7.tar.gz |
Switched from rlcodegen to rlgen-cd. Silenced a warning in statechart.rl.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/Makefile | 2 | ||||
-rw-r--r-- | examples/statechart.rl | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/examples/Makefile b/examples/Makefile index e275dbc5..7e473868 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -19,7 +19,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA RAGEL = ../ragel/ragel -RLCODEGEN = ../rlcodegen/rlcodegen +RLCODEGEN = ../rlgen-cd/rlgen-cd FLEX = flex RE2C = re2c CFLAGS = -Wall -g -O3 diff --git a/examples/statechart.rl b/examples/statechart.rl index cb99a203..b61f35e8 100644 --- a/examples/statechart.rl +++ b/examples/statechart.rl @@ -68,6 +68,8 @@ struct StateChart int StateChart::init( ) { + neg = false; + val = false; %% write init; return 1; } |