summaryrefslogtreecommitdiff
path: root/scan.l
diff options
context:
space:
mode:
authorVern Paxson <vern@ee.lbl.gov>1993-08-25 16:51:45 +0000
committerVern Paxson <vern@ee.lbl.gov>1993-08-25 16:51:45 +0000
commitb14be0fbcaf61496a357bfe0e157860729cf67ef (patch)
treed1f9aa50564902dc8838717e9c100e2e2c5f0b38 /scan.l
parent5ca409af32ca48e75ccb8285cedae7c80a9ae0bf (diff)
EOF in section 2 prolog leads to section 0, not section 3
Diffstat (limited to 'scan.l')
-rw-r--r--scan.l3
1 files changed, 1 insertions, 2 deletions
diff --git a/scan.l b/scan.l
index 9f0e8ca..53b7792 100644
--- a/scan.l
+++ b/scan.l
@@ -215,8 +215,7 @@ CCL_CHAR [^\\\n\]]|{ESCSEQ}
<SECT2PROLOG><<EOF>> {
MARK_END_OF_PROLOG;
- sectnum = 3;
- BEGIN(SECT3);
+ sectnum = 0;
yyterminate(); /* to stop the parser */
}