Fixed an error in the parsing grammar

svn: r6738
This commit is contained in:
Kathy Gray 2007-06-26 01:54:58 +00:00
parent 2c2b3b17da
commit 64636920bb

View File

@ -668,7 +668,8 @@
(define constructor (make-constructor #f (repeat init)))
(define interface (interface-def #f #f (repeat method-sig)))
(define interface (interface-def #f #f
(repeat (sequence (method-sig SEMI_COLON) id "method signature"))))
(define class
(class-def #f #f (implements-dec identifier)
@ -770,7 +771,7 @@
(interface-def
#f
(sequence (tok:extends (comma-sep identifier "interfaces")) id "extends")
(repeat method-sig-no-abs)))
(repeat (sequence (method-sig-no-abs SEMI_COLON) id "method signature"))))
(define class
(class-def tok:abstract (extend-dec identifier)