diff options
author | John Millaway <john43@users.sourceforge.net> | 2002-08-15 21:23:18 +0000 |
---|---|---|
committer | John Millaway <john43@users.sourceforge.net> | 2002-08-15 21:23:18 +0000 |
commit | 201f2a86bf025726a59a27ff2bb146da95b4a8d6 (patch) | |
tree | 6ae082c078ef9265c14fdb3061e620d1a9d6ac21 /main.c | |
parent | 15a23d165c683c13a45ed9c6e08f926c5e4686aa (diff) |
Fixed seg fault bug in ecs.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -410,10 +410,6 @@ void check_options() /* Create the alignment type. */ buf_strdefine(&userdef_buf,"YY_INT_ALIGNED", long_align ? "long int" : "short int"); - - /* Now map the equivalence class for NUL to its expected place. */ - ecgroup[0] = ecgroup[csize]; - NUL_ec = ABS( ecgroup[0] ); /* Dump the user defined preproc directives. */ if (userdef_buf.elts) @@ -1667,6 +1663,10 @@ _( "Variable trailing context rules entail a large performance penalty\n" ) ); else numecs = csize; + /* Now map the equivalence class for NUL to its expected place. */ + ecgroup[0] = ecgroup[csize]; + NUL_ec = ABS( ecgroup[0] ); + if ( useecs ) ccl2ecl(); } |