pike.git/
src/
language.yacc
Branch:
Tag:
Non-build tags
All tags
No tags
1999-07-19
1999-07-19 00:32:41 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
2a7c7cf6a50670b73b06cf73094333238228abe3 (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
better error message (IMHO)
Rev: src/language.yacc:1.119
181:
/* This is the grammar definition of Pike. */ #include "global.h"
-
RCSID("$Id: language.yacc,v 1.
118
1999/
06
/19
22
:
10
:
07
grubba
Exp $");
+
RCSID("$Id: language.yacc,v 1.
119
1999/
07
/19
00
:
32
:
41
hubbe
Exp $");
#ifdef HAVE_MEMORY_H #include <memory.h> #endif
2038:
| F_DO { yyerror("do is a reserved word."); } | F_ELSE
-
{ yyerror("else
is
a reserved word
."); }
+
{ yyerror("else
without
if
."); }
| F_RETURN { yyerror("return is a reserved word."); } | F_CONSTANT