summaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/parse.c b/parse.c
index d955bc4..fb7855e 100644
--- a/parse.c
+++ b/parse.c
@@ -131,6 +131,8 @@ parse(const char *fname, FILE *f, struct token *t) {
filename = fname;
cursor = t;
+ EXPECT_AND_DISCARD_CRITICAL(TOK_BEGIN);
+
/* Eat leading EOL tokens */
while (cursor && cursor->type == TOK_EOL) {
kerchunk();