diff options
author | Vern Paxson <vern@ee.lbl.gov> | 1993-09-21 20:42:18 +0000 |
---|---|---|
committer | Vern Paxson <vern@ee.lbl.gov> | 1993-09-21 20:42:18 +0000 |
commit | 1748e3c90f3547f5b0ddfe2a798f31a4b625e7d6 (patch) | |
tree | a8a18921bdeb6a1e367a055483ee40291e3ce6f0 /parse.y | |
parent | b70dc5d68d0a9bcef3b4539c6b07ce89533c8fda (diff) |
YYSTYPE #define'd to int
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -43,6 +43,14 @@ void yyerror(); static int madeany = false; /* whether we've made the '.' character class */ int previous_continued_action; /* whether the previous rule's action was '|' */ +/* On some over-ambitious machines, such as DEC Alpha's, the default + * token type is "long" instead of "int"; this leads to problems with + * declaring yylval in flexdef.h. But so far, all the yacc's I've seen + * wrap their definitions of YYSTYPE with "#ifndef YYSTYPE"'s, so the + * following should ensure that the default token type is "int". + */ +#define YYSTYPE int + %} %% |