/[bison]/bison/tests/calc.at
ViewVC logotype

Diff of /bison/tests/calc.at

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by akim, Thu Nov 1 17:47:39 2001 UTC revision 1.10 by akim, Fri Nov 2 15:27:11 2001 UTC
# Line 64  static void yyungetc (int c); Line 64  static void yyungetc (int c);
64  extern void perror (const char *s);  extern void perror (const char *s);
65  %}  %}
66    
67  /* BISON Declarations */  /* Bison Declarations */
68    %token CALC_EOF 0
69  %token NUM  %token NUM
70    
71  %nonassoc '=' /* comparison            */  %nonassoc '=' /* comparison            */
# Line 204  yylex (void) Line 205  yylex (void)
205    
206    /* Return end-of-file.  */    /* Return end-of-file.  */
207    if (c == EOF)    if (c == EOF)
208      return 0;      return CALC_EOF;
209    
210    /* Return single chars. */    /* Return single chars. */
211    return c;    return c;

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26