Skip to content

Commit

Permalink
Fixed indentation problem
Browse files Browse the repository at this point in the history
  • Loading branch information
gvol committed Dec 13, 2013
1 parent 31379a0 commit 508a7b9
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions gap-smie.el
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,16 @@
("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))
(insts (insts ";" insts) (insts ";;" insts) (inst))
(exp ("(" exps ")")
("[" exps "]")
("{" exps "}")

("not" exp)

(in-exp)
(exp ".." exp)
(exp "and" exp)
(exp "or" exp)
Expand All @@ -55,7 +54,7 @@
(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))
Expand All @@ -67,7 +66,7 @@
'((assoc "not")
(assoc "..")
(assoc "and" "or")
(assoc "<" "<=" "=" ">=" ">" "<>") ;; "in"
(assoc "<" "<=" "=" ">=" ">" "<>" "in")
(assoc "+" "-")
(assoc "*" "/" "mod")
(assoc "^"))))
Expand Down

0 comments on commit 508a7b9

Please sign in to comment.