diff options
author | Vern Paxson <vern@ee.lbl.gov> | 1993-11-30 13:01:40 +0000 |
---|---|---|
committer | Vern Paxson <vern@ee.lbl.gov> | 1993-11-30 13:01:40 +0000 |
commit | df6df2a091ecd4d8d3bdbfd558b99d4b9d31dee2 (patch) | |
tree | f7bd2296ed973823d872d7e0502c0eb3180d27ec /gen.c | |
parent | 1d99f7ba80a3bd6480f4121ab73deb2792d8bedd (diff) |
Fixed nasty bug in short/long decl decision
Diffstat (limited to 'gen.c')
-rw-r--r-- | gen.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -920,7 +920,7 @@ void gentabs() total_states = lastdfa + numtemps; - printf( (total_states >= MAX_SHORT || long_align) ? + printf( (tblend >= MAX_SHORT || long_align) ? C_long_decl : C_short_decl, "yy_base", total_states + 1 ); @@ -964,7 +964,7 @@ void gentabs() dataend(); - printf( (tblend >= MAX_SHORT || long_align) ? + printf( (total_states >= MAX_SHORT || long_align) ? C_long_decl : C_short_decl, "yy_nxt", tblend + 1 ); @@ -978,7 +978,7 @@ void gentabs() dataend(); - printf( (tblend >= MAX_SHORT || long_align) ? + printf( (total_states >= MAX_SHORT || long_align) ? C_long_decl : C_short_decl, "yy_chk", tblend + 1 ); |