diff options
author | Adrian Thurston <thurston@complang.org> | 2014-11-26 17:48:47 -0500 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2014-11-26 18:11:18 -0500 |
commit | 4e5bbe017cc9244897d8ff49f93c2704a3b83a38 (patch) | |
tree | 7292b4506ec911cb5de98a3c7ba80ea163426386 /ragel/cdcodegen.cpp | |
parent | 4ec27569bd87f630ad688a3e81ff816a2492911d (diff) | |
download | ragel-4e5bbe017cc9244897d8ff49f93c2704a3b83a38.tar.gz |
table CLOSE formatting moved into TableArray
Diffstat (limited to 'ragel/cdcodegen.cpp')
-rw-r--r-- | ragel/cdcodegen.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ragel/cdcodegen.cpp b/ragel/cdcodegen.cpp index 9ded651d..6dd36772 100644 --- a/ragel/cdcodegen.cpp +++ b/ragel/cdcodegen.cpp @@ -92,7 +92,9 @@ void TableArray::KEY( Key key ) void TableArray::CLOSE() { + out << "\n"; codeGen.CLOSE_ARRAY(); + out << "\n"; } void FsmCodeGen::genLineDirective( ostream &out ) @@ -177,11 +179,7 @@ std::ostream &FsmCodeGen::ACTIONS_ARRAY() } } - out << "\n"; - taA.CLOSE(); - out << "\n"; - return out; } |