Correction to grammar for advanced; correction to source position
tracking for repeat-greedy: both correct bug #8940 svn: r7384
This commit is contained in:
parent
99184484e1
commit
e3d4bed0fe
|
@ -540,7 +540,7 @@
|
|||
(make-repeat-res
|
||||
(make-res (append a (res-a r)) (res-rest r) repeat-name #f
|
||||
(+ (res-used curr-ans) (res-used r))
|
||||
#f (res-first-tok curr-ans))
|
||||
#f (res-first-tok r))
|
||||
(repeat-res-stop rest-ans))]
|
||||
[else
|
||||
(error 'parser-internal-error9 (format "~a" r))]))])
|
||||
|
|
|
@ -995,8 +995,8 @@
|
|||
(interface-def
|
||||
#f
|
||||
(sequence (tok:extends (comma-sep IDENTIFIER "interfaces")) id "extends")
|
||||
(repeat-greedy (choose (method-sig-no-abs
|
||||
(make-field (global-mods access-mods) (value+name-type prim-type) expression #t))
|
||||
(repeat-greedy (choose ((sequence (method-sig-no-abs SEMI_COLON) id "method header")
|
||||
(make-field (global-mods access-mods) (value+name-type prim-type) expression #t))
|
||||
"interface member definition"))))
|
||||
|
||||
(define class
|
||||
|
|
Loading…
Reference in New Issue
Block a user