#include <math.h>
#include <string.h>
#include <stdlib.h>
-#include "calib_yacc.h"
-#include "calib_lex.h"
#define YYERROR_VERBOSE
#define YYPARSE_PARAM parse_arg
#define YYLEX_PARAM priv(YYPARSE_PARAM)->yyscanner
+#include "calib_yacc.h"
+#include "calib_lex.h"
+
enum polynomial_direction
{
POLYNOMIAL_TO_PHYS,
return priv.parsed_file;
}
+static void yyerror(const char *s)
+{
+ fprintf(stderr, "%s\n", s);
+}
+
%}
%pure_parser
%%
-void calib_yyerror(char *s)
-{
- fprintf(stderr, "%s\n", s);
-}
-