diff options
author | Adrian Thurston <thurston@complang.org> | 2009-01-04 21:23:15 +0000 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2009-01-04 21:23:15 +0000 |
commit | 26e9f4b8f98db81d4b256f844a83ab7f22b02b5c (patch) | |
tree | 0da2b267725912114626236be081be3e054f0819 /ragel/cdcodegen.cpp | |
parent | e38f76bd7b01f7f0ae7522467dd72b60a0c485b6 (diff) | |
download | ragel-26e9f4b8f98db81d4b256f844a83ab7f22b02b5c.tar.gz |
added:
write start;
write first_final;
write error;
Diffstat (limited to 'ragel/cdcodegen.cpp')
-rw-r--r-- | ragel/cdcodegen.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ragel/cdcodegen.cpp b/ragel/cdcodegen.cpp index 0a984696..afb14102 100644 --- a/ragel/cdcodegen.cpp +++ b/ragel/cdcodegen.cpp @@ -776,6 +776,20 @@ void FsmCodeGen::STATE_IDS() } } +void FsmCodeGen::writeStart() +{ + out << START_STATE_ID(); +} + +void FsmCodeGen::writeFirstFinal() +{ + out << FIRST_FINAL_STATE(); +} + +void FsmCodeGen::writeError() +{ + out << ERROR_STATE(); +} /* * Language specific, but style independent code generators functions. |