struct calibration_file_contents file_contents;
static struct caldac_setting caldac;
static int cal_index;
+FILE *calib_yyin;
static void free_calibration_setting( struct calibration_setting *setting )
{
extern const struct calibration_file_contents* parse_calibration_file( FILE *file )
{
- calib_yyrestart( file );
+ calib_yyin = file;
init_calib_parse();
if( calib_yyparse() ) return NULL;
return &file_contents;
int calib_yylex( void );
void calib_yyerror( char *s );
int calib_yyparse( void );
-void calib_yyrestart( FILE *calibration_file );
const struct calibration_file_contents* parse_calibration_file( FILE *file );
void cleanup_calibration_parse( void );