Removed prefix flags from yacc and lex (to prepare for automake).

This commit is contained in:
Svend Sorensen
2005-03-21 21:55:00 +00:00
parent 5b34a8361e
commit 89f355e86d
7 changed files with 172 additions and 75 deletions

View File

@@ -11,10 +11,11 @@
#include <string.h>
#include "cd.h"
#include "time.h"
#include "cue_parse_prefix.h"
#define YYDEBUG 1
extern int cue_yylex();
extern int yylex();
void yyerror (char *s);
static Cd *cd = NULL;
@@ -259,7 +260,7 @@ time
/* lexer interface */
extern int cue_lineno;
extern int cue_yydebug;
extern int yydebug;
extern FILE *cue_yyin;
void yyerror (char *s)
@@ -270,9 +271,9 @@ void yyerror (char *s)
Cd *cue_parse (FILE *fp)
{
cue_yyin = fp;
cue_yydebug = 0;
yydebug = 0;
if (0 == cue_yyparse())
if (0 == yyparse())
return cd;
return NULL;