Commits

Anonymous committed 1ffa723

Bugfix: make example/calculator to compile and run
Keywords: bugfix, example, syntax

* examples/calculator.lisp (*calculator-parser*):
Add extra parenthes around nested :OR according to changes in
fucc--main--0.2--patch-7.

Comments (0)

Files changed (1)

examples/calculator.lisp

    (exp (:action (lambda (a op b)
                      (funcall op a b)))
       exp
-      (:or (:or + -) ; Nested OR here is just for fun
+      (:or ((:or + -)) ; Nested OR here is just for fun
            * /)
       exp)
    ;; Constants and variables