summaryrefslogtreecommitdiff
path: root/ragel/cdcodegen.cpp
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2009-01-04 21:23:15 +0000
committerAdrian Thurston <thurston@complang.org>2009-01-04 21:23:15 +0000
commit26e9f4b8f98db81d4b256f844a83ab7f22b02b5c (patch)
tree0da2b267725912114626236be081be3e054f0819 /ragel/cdcodegen.cpp
parente38f76bd7b01f7f0ae7522467dd72b60a0c485b6 (diff)
downloadragel-26e9f4b8f98db81d4b256f844a83ab7f22b02b5c.tar.gz
added:
write start; write first_final; write error;
Diffstat (limited to 'ragel/cdcodegen.cpp')
-rw-r--r--ragel/cdcodegen.cpp14
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.