Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jun 27th, 2011  |  syntax: None  |  size: 0.42 KB  |  views: 100  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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.  }
clone this paste RAW Paste Data