File tree 6 files changed +7
-7
lines changed
6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1160,7 +1160,7 @@ void AsmCodeGen::NFA_PUSH( RedStateAp *st )
1160
1160
1161
1161
void AsmCodeGen::STATE_GOTOS ()
1162
1162
{
1163
- bool eof = redFsm->anyEofActivity () || redFsm->anyNfaStates ();
1163
+ bool eof = redFsm->anyEofActivity () || redFsm->anyNfaStates () || redFsm-> anyFromStateActions () ;
1164
1164
1165
1165
for ( RedStateList::Iter st = redFsm->stateList ; st.lte (); st++ ) {
1166
1166
/* Writing code above state gotos. */
Original file line number Diff line number Diff line change @@ -368,7 +368,7 @@ void Goto::FROM_STATE_ACTION_EMIT( RedStateAp *state )
368
368
369
369
std::ostream &Goto::STATE_CASES ()
370
370
{
371
- bool eof = redFsm->anyEofActivity () || redFsm->anyNfaStates ();
371
+ bool eof = redFsm->anyEofActivity () || redFsm->anyNfaStates () || redFsm-> anyFromStateActions () ;
372
372
373
373
for ( RedStateList::Iter st = redFsm->stateList ; st.lte (); st++ ) {
374
374
/* Writing code above state gotos. */
@@ -881,7 +881,7 @@ void Goto::writeExec()
881
881
out << EMIT_LABEL ( _resume );
882
882
883
883
/* Do we break out on no more input. */
884
- bool eof = redFsm->anyEofActivity () || redFsm->anyNfaStates ();
884
+ bool eof = redFsm->anyEofActivity () || redFsm->anyNfaStates () || redFsm-> anyFromStateActions () ;
885
885
if ( !noEnd ) {
886
886
if ( eof ) {
887
887
out <<
Original file line number Diff line number Diff line change @@ -452,7 +452,7 @@ void IpGoto::NFA_PUSH_ST( RedStateAp *state )
452
452
453
453
std::ostream &IpGoto::STATE_GOTOS ()
454
454
{
455
- bool eof = redFsm->anyEofActivity () || redFsm->anyNfaStates ();
455
+ bool eof = redFsm->anyEofActivity () || redFsm->anyNfaStates () || redFsm-> anyFromStateActions () ;
456
456
457
457
for ( RedStateList::Iter st = redFsm->stateList ; st.lte (); st++ ) {
458
458
IN_TRANS_ACTIONS ( st );
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ void TabBreak::writeExec()
215
215
out << BREAK_LABEL ( _resume );
216
216
217
217
/* Do we break out on no more input. */
218
- bool eof = redFsm->anyEofActivity () || redFsm->anyNfaStates ();
218
+ bool eof = redFsm->anyEofActivity () || redFsm->anyNfaStates () || redFsm-> anyFromStateActions () ;
219
219
if ( !noEnd ) {
220
220
if ( eof ) {
221
221
out <<
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ void TabGoto::writeExec()
185
185
out << EMIT_LABEL ( _resume );
186
186
187
187
/* Do we break out on no more input. */
188
- bool eof = redFsm->anyEofActivity () || redFsm->anyNfaStates ();
188
+ bool eof = redFsm->anyEofActivity () || redFsm->anyNfaStates () || redFsm-> anyFromStateActions () ;
189
189
if ( !noEnd ) {
190
190
if ( eof ) {
191
191
out <<
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ void TabVar::writeExec()
161
161
out << BREAK_LABEL ( _resume );
162
162
163
163
/* Do we break out on no more input. */
164
- bool eof = redFsm->anyEofActivity () || redFsm->anyNfaStates ();
164
+ bool eof = redFsm->anyEofActivity () || redFsm->anyNfaStates () || redFsm-> anyFromStateActions () ;
165
165
if ( !noEnd ) {
166
166
if ( eof ) {
167
167
out <<
You can’t perform that action at this time.
0 commit comments