Commits

Ivan Andrus  committed 31fd1e2

Fixed indentation problem

  • Participants
  • Parent commits 0989126

Comments (0)

Files changed (1)

             ("function" insts "end")
             ("repeat" insts "until" exp)
             ("while" exp "do" insts "od")
-            ("for" id "in" exp "do" insts "od")
+            ("for" in-exp "do" insts "od")
             ("if" if-body "fi")
             ("return" exp)
             ("local" exps))
       (exp ("(" exps ")")
            ("[" exps "]")
            ("{" exps "}")
-
            ("not" exp)
-
+           (in-exp)
            (exp ".." exp)
            (exp "and" exp)
            (exp "or" exp)
            (exp "/" exp)
            (exp "mod" exp)
            (exp "^" exp))
-
+      (in-exp (exp "in" exp))
       (exps (exps "," exps) (exp))
       (itheni (insts) (exp "then" insts))
       (ielsei (itheni) (itheni "else" insts))
     '((assoc "not")
       (assoc "..")
       (assoc "and" "or")
-      (assoc "<" "<=" "=" ">=" ">" "<>") ;; "in"
+      (assoc "<" "<=" "=" ">=" ">" "<>" "in")
       (assoc "+" "-")
       (assoc "*" "/" "mod")
       (assoc "^"))))