diff options
author | Vern Paxson <vern@ee.lbl.gov> | 1993-11-26 15:08:34 +0000 |
---|---|---|
committer | Vern Paxson <vern@ee.lbl.gov> | 1993-11-26 15:08:34 +0000 |
commit | e0636c8ad09f2152137cf77f2e64528218b566c1 (patch) | |
tree | 74c247960bf1ddd68aef99927c459aa73e425eec /parse.y | |
parent | 7438e63861cb1317977fc1f6fea29589a3276539 (diff) |
-l lex compatibility flag
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -311,7 +311,7 @@ rule : re2 re headcnt = 0; } - if ( varlength && headcnt == 0 ) + if ( lex_compat || (varlength && headcnt == 0) ) { /* variable trailing context rule */ /* Mark the first part of the rule as the * accepting "head" part of a trailing @@ -359,7 +359,7 @@ rule : re2 re headcnt = 0; } - if ( varlength && headcnt == 0 ) + if ( lex_compat || (varlength && headcnt == 0) ) { /* Again, see the comment in the rule for * "re2 re" above. @@ -391,7 +391,7 @@ rule : re2 re if ( trlcontxt ) { - if ( varlength && headcnt == 0 ) + if ( lex_compat || (varlength && headcnt == 0) ) /* Both head and trail are * variable-length. */ |