chiark
/
gitweb
/
~mdw
/
sod
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8c2c58a
)
src/module-parse.lisp (parse-raw-class-item): Commit after declarator.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 26 May 2016 08:26:09 +0000
(09:26 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 29 May 2016 14:08:43 +0000
(15:08 +0100)
Once we've parsed declaration specifiers and a declarator, commit to the
current parse before dispatching.
src/module-parse.lisp
patch
|
blob
|
blame
|
history
diff --git
a/src/module-parse.lisp
b/src/module-parse.lisp
index 95220852b25ed6e7e07e8da35c8b23d4d49d9962..e33b6d3bc3ba342969f838b4e3769a334d57e71b 100644
(file)
--- a/
src/module-parse.lisp
+++ b/
src/module-parse.lisp
@@
-377,6
+377,7
@@
(defun parse-class-body (scanner pset name supers)
(peek
(seq ((ds (parse-c-type scanner))
(dc (parse-maybe-dotted-declarator ds))
(peek
(seq ((ds (parse-c-type scanner))
(dc (parse-maybe-dotted-declarator ds))
+ (nil (commit))
(nil (class-item-dispatch sub-pset
ds
(car dc)
(nil (class-item-dispatch sub-pset
ds
(car dc)