examples: d: remove unused token

* examples/d/calc/calc.y, examples/d/simple/calc.y: Remove "=".
This commit is contained in:
Akim Demaille
2020-09-07 06:45:32 +02:00
parent 5d711972b8
commit 93d6a5ba4d
2 changed files with 2 additions and 6 deletions

View File

@@ -29,8 +29,7 @@
}
/* Bison Declarations */
%token EQ "="
PLUS "+"
%token PLUS "+"
MINUS "-"
STAR "*"
SLASH "/"
@@ -154,7 +153,6 @@ class CalcLexer(R) : Lexer
end.column++;
switch (ch)
{
case '=': return TokenKind.EQ;
case '+': return TokenKind.PLUS;
case '-': return TokenKind.MINUS;
case '*': return TokenKind.STAR;