moving extern command from .yy file o .ll file so there is no error under mac osx

This commit is contained in:
Damien Dupuis 2010-08-23 12:56:53 +00:00
parent b120048eb3
commit ab4a8e4346
2 changed files with 2 additions and 2 deletions

View File

@ -33,11 +33,11 @@ using namespace CRL;
extern char* yytext;
extern FILE* yyin;
extern int yylineno;
extern int yylex ();
extern int yywrap ();
extern void yyrestart ( FILE* );
int yylineno = 0;
namespace {

View File

@ -7,7 +7,7 @@
#include "AcmSigdaParserGrammar.hpp"
static std::string nameToken;
int yylineno = 0;
extern int yylineno;
%}