SHARE
TWEET

Untitled

a guest Jun 27th, 2011 106 Never
  1. --- src/calc.yy 2011-06-27 18:35:24.352176208 +0200
  2. +++ src/calc.yy.new     2011-06-27 18:43:18.921424120 +0200
  3. @@ -18,7 +18,7 @@
  4.  #include "formula.h"
  5.  #include "formula-variables.h"
  6.  
  7. -int yyerror(char* s);
  8. +int yyerror(const char* s);
  9.  int yylex();
  10.  
  11.  const char* yyinStr;
  12. @@ -150,7 +150,7 @@
  13.         return c;
  14.  }
  15.  
  16. -int yyerror(char* s) {
  17. +int yyerror(const char* s) {
  18.         printf("yyerror: %s\n", s);
  19.         return 0;
  20.  }
RAW Paste Data
Top