projects
/
external
/
ragel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
The cs variable is now always initialized, unless the "nocs" option is given to
[external/ragel.git]
/
rlgen-ruby
/
rubycodegen.cpp
diff --git
a/rlgen-ruby/rubycodegen.cpp
b/rlgen-ruby/rubycodegen.cpp
index
5e8a81c
..
e8e5733
100644
(file)
--- a/
rlgen-ruby/rubycodegen.cpp
+++ b/
rlgen-ruby/rubycodegen.cpp
@@
-384,7
+384,7
@@
void RubyCodeGen::writeInit()
{
out << INDENT_U() << "begin";
- if (
redFsm->startState != 0
)
+ if (
writeCS
)
out << INDENT_S() << CS() << " = " << START();
/* If there are any calls, then the stack top needs initialization. */