summary | 
shortlog | 
log | 
commit | commitdiff | 
tree
raw | 
patch | 
inline | side by side (from parent 1: 
81583a6)
 
Fix:
y.tab.c:1310:16: error: implicit declaration of function 'yylex' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
      yychar = YYLEX;
               ^
y.tab.c:1586:7: error: implicit declaration of function 'yyerror' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
      yyerror (YY_("syntax error"));
      ^
y.tab.c:1732:3: error: implicit declaration of function 'yyerror' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
  yyerror (YY_("memory exhausted"));
  ^
 #define DAYLIGHT 1
 #define STANDARD 2
 #define MAYBE    3
 #define DAYLIGHT 1
 #define STANDARD 2
 #define MAYBE    3
+
+int yylex(void);
+void yyerror(const char *);
 
 static char *lptr;
 
 //static
 static char *lptr;
 
 //static
 yylex()
 {
 #ifndef YYSTYPE
 yylex()
 {
 #ifndef YYSTYPE
 
  * Error message are not used, so discard with dummy function.
  */
 
  * Error message are not used, so discard with dummy function.
  */
 
 yyerror(msg)
     const char *msg;
 {
 yyerror(msg)
     const char *msg;
 {