summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabriel Kerneis2013-12-17 13:39:45 +0000
committerGabriel Kerneis2013-12-17 13:42:17 +0000
commit787736a9d0548eb0115ec1eaa42f4e486de1189c (patch)
treea7acc21b17905eda091ab33f532841cdf740f1f6 /src
parent86c00b1b581dce52ac005401e6f2d6422b66637d (diff)
Remove spurious lexing tokens
Diffstat (limited to 'src')
-rw-r--r--src/lexer.mll3
-rw-r--r--src/parser.mly2
2 files changed, 1 insertions, 4 deletions
diff --git a/src/lexer.mll b/src/lexer.mll
index b8660675..0b50cd4d 100644
--- a/src/lexer.mll
+++ b/src/lexer.mll
@@ -101,11 +101,8 @@ let kw_table =
("with", (fun x -> With));
("val", (fun x -> Val));
- ("AND", (fun x -> AND));
("div", (fun x -> Div_));
- ("EOR", (fun x -> EOR));
("mod", (fun x -> Mod));
- ("OR", (fun x -> OR));
("quot", (fun x -> Quot));
("rem", (fun x -> Rem));
diff --git a/src/parser.mly b/src/parser.mly
index 10d6cf65..be69fc00 100644
--- a/src/parser.mly
+++ b/src/parser.mly
@@ -132,7 +132,7 @@ let star = "*"
%nonassoc Then
%nonassoc Else
-%token AND Div_ EOR Mod OR Quot Rem
+%token Div_ Mod Quot Rem
%token Bar Colon Comma Dot Eof Minus Semi Under
%token Lcurly Rcurly Lparen Rparen Lsquare Rsquare