From 9bf08d698aa78974991a19d41b0466de86610c49 Mon Sep 17 00:00:00 2001 From: Scott Owens Date: Fri, 16 Nov 2001 00:21:05 +0000 Subject: [PATCH] *** empty log message *** original commit: 4db586cb771db717fbbad95b9206230c73edc858 --- collects/parser-tools/yacc.ss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/collects/parser-tools/yacc.ss b/collects/parser-tools/yacc.ss index 612cef5..0abd4e4 100644 --- a/collects/parser-tools/yacc.ss +++ b/collects/parser-tools/yacc.ss @@ -99,6 +99,8 @@ (raise-syntax-error #f "missing grammar declaration" stx)) (if (not end) (raise-syntax-error #f "missing end declaration" stx)) + (if (not start) + (raise-syntax-error #f "missing start declaration" stx)) (build-parser (if debug debug "") error tokens