moving extern command from .yy file o .ll file so there is no error under mac osx
This commit is contained in:
parent
b120048eb3
commit
ab4a8e4346
|
@ -33,11 +33,11 @@ using namespace CRL;
|
||||||
|
|
||||||
extern char* yytext;
|
extern char* yytext;
|
||||||
extern FILE* yyin;
|
extern FILE* yyin;
|
||||||
extern int yylineno;
|
|
||||||
extern int yylex ();
|
extern int yylex ();
|
||||||
extern int yywrap ();
|
extern int yywrap ();
|
||||||
extern void yyrestart ( FILE* );
|
extern void yyrestart ( FILE* );
|
||||||
|
|
||||||
|
int yylineno = 0;
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#include "AcmSigdaParserGrammar.hpp"
|
#include "AcmSigdaParserGrammar.hpp"
|
||||||
|
|
||||||
static std::string nameToken;
|
static std::string nameToken;
|
||||||
int yylineno = 0;
|
extern int yylineno;
|
||||||
|
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue