> On Jan 7, 2017, at 3:14 AM, Jan Nieuwenhuizen <jann...@gnu.org> wrote: > > Matt Wette writes: > > Hi Matt! > > Find small bugfix for GOTO attached.
> > --- a/module/nyacc/lang/c99/mach.d/c99act.scm > +++ b/module/nyacc/lang/c99/mach.d/c99act.scm > @@ -690,7 +690,7 @@ > ;; opt-expression => expression > (lambda ($1 . $rest) $1) > ;; jump-statement => "goto" identifier ";" > - (lambda ($3 $2 $1 . $rest) `(goto $2)) > + (lambda ($3 $2 $1 . $rest) `(goto ,$2)) > ;; jump-statement => "continue" ";" > (lambda ($2 $1 . $rest) '(continue)) > ;; jump-statement => "break" ";" > -- Thanks. The bug is actually in lang/c99/mach.scm. c99act.scm is output from running make-lalr-{spec,machine} on mach.scm, (jump-statement ; S 6.8.6 ("goto" identifier ";" ($$ `(goto ,$2))). ;; <= was `(goto $2) ("continue" ";" ($$ '(continue))) ... Also, I am currently working on the fixes branch to cleanup the C-preprocessor support so that #:mode ‘code works more robustly. Matt