diff options
author | Vern Paxson <vern@ee.lbl.gov> | 1993-10-02 13:37:14 +0000 |
---|---|---|
committer | Vern Paxson <vern@ee.lbl.gov> | 1993-10-02 13:37:14 +0000 |
commit | e1cffb75bcf9e136cf9947834382344a8d6d0bb8 (patch) | |
tree | 464d4568ce7b9aaaf077cd13072dc058bd6cba18 /dfa.c | |
parent | aad7b2b167fb0d36a01fa8d38a80ac2c8689f70c (diff) |
Added -a option for long-align.
Diffstat (limited to 'dfa.c')
-rw-r--r-- | dfa.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -526,12 +526,12 @@ void ntod() */ num_full_table_rows = numecs + 1; - /* Declare it "short" because it's a real long-shot that that - * won't be large enough. + /* Unless -a, declare it "short" because it's a real + * long-shot that that won't be large enough. */ - printf( "static const short yy_nxt[][%d] =\n {\n", + printf( "static const %s yy_nxt[][%d] =\n {\n", /* '}' so vi doesn't get too confused */ - num_full_table_rows ); + long_align ? "long" : "short", num_full_table_rows ); /* Generate 0 entries for state #0. */ for ( i = 0; i < num_full_table_rows; ++i ) |