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

Diff of /bison/tests/regression.at

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

revision 1.80 by eggert, Fri Apr 18 07:26:46 2003 UTC revision 1.81 by eggert, Wed Jun 4 05:54:16 2003 UTC
# Line 675  AT_CLEANUP Line 675  AT_CLEANUP
675  m4_define([_AT_DATA_DANCER_Y],  m4_define([_AT_DATA_DANCER_Y],
676  [AT_DATA_GRAMMAR([dancer.y],  [AT_DATA_GRAMMAR([dancer.y],
677  [%{  [%{
678  AT_LALR1_CC_IF(  static int yylex (AT_LALR1_CC_IF([int *], [void]));
679  [static int yylex (int *lval);],  AT_LALR1_CC_IF([],
680  [#include <stdio.h>  [#include <stdio.h>
681  static void yyerror (const char *s);  static void yyerror (const char *);])
 static int yylex ();])  
682  %}  %}
683  $1  $1
684  %token ARROW INVALID NUMBER STRING DATA  %token ARROW INVALID NUMBER STRING DATA
# Line 753  yyerror (const char *s) Line 752  yyerror (const char *s)
752  }])  }])
753    
754  static int  static int
755  yylex (AT_LALR1_CC_IF([int *lval]))  yylex (AT_LALR1_CC_IF([int *lval], [void]))
756  [{  [{
757    static int toknum = 0;    static int toknum = 0;
758    int tokens[] =    int tokens[] =
759      {      {
760        ':', -1        ':', -1
761      };      };
762      ]AT_LALR1_CC_IF([*lval = 0; /* Pacify GCC.  */])[
763    return tokens[toknum++];    return tokens[toknum++];
764  }]  }]
765    

Legend:
Removed from v.1.80  
changed lines
  Added in v.1.81

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