diff options
author | Vern Paxson <vern@ee.lbl.gov> | 1990-01-16 11:17:36 +0000 |
---|---|---|
committer | Vern Paxson <vern@ee.lbl.gov> | 1990-01-16 11:17:36 +0000 |
commit | fd6ee792d251e9ff28372ec39934a6a14ce346ad (patch) | |
tree | 80c4421aa351bc2e8134bbd7e2148fe75b5ec2f9 /gen.c | |
parent | 1d59e0b135c3b3dcb119af1f4045c856a7d9dec7 (diff) | |
download | flex-git-fd6ee792d251e9ff28372ec39934a6a14ce346ad.tar.gz |
Restored EOB accepting list for REJECT.
Second try at 2.2 Release.
Diffstat (limited to 'gen.c')
-rw-r--r-- | gen.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -658,6 +658,14 @@ gentabs() * the indices that will go into the "yy_accept" array, and save the * indices in the dfaacc array */ + int EOB_accepting_list[2]; + + /* set up accepting structures for the End Of Buffer state */ + EOB_accepting_list[0] = 0; + EOB_accepting_list[1] = end_of_buffer_action; + accsiz[end_of_buffer_state] = 1; + dfaacc[end_of_buffer_state].dfaacc_set = EOB_accepting_list; + printf( C_short_decl, "yy_acclist", max( numas, 1 ) + 1 ); j = 1; /* index into "yy_acclist" array */ |