summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/d/calc.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/d/calc.y b/examples/d/calc.y
index 26b4413a..5c7975a3 100644
--- a/examples/d/calc.y
+++ b/examples/d/calc.y
@@ -108,7 +108,7 @@ class CalcLexer : Lexer {
return semanticVal_;
}
- YYTokenType yylex ()
+ int yylex ()
{
int c;
/* Skip white spaces. */