help-flex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


From: uleus
Subject: (no subject)
Date: Mon, 24 May 2004 20:06:32 +0200
User-agent: Internet Messaging Program (IMP) 3.2.1

Hello,

I am trying to make thread-safe pareser.
As far as I know I should use %pure_parser option and remove all global 
variables, so that I shuld make the function yyparse be able to take 
parameters, I used the macro:

#define YYPARSE_PARAM parm

but the answer from compiler is:
ison.simple(207) : error C2065: 'parm' : undeclared identifier
bison.simple(208) : error C2448: '<Unknown>' : function-style initializer 
appears to be a function definition
bison.simple(208) : fatal error C1004: unexpected end of file found
I am working with flex 2.5.2, bison 1.24, and VC++

Does anyone has any idea what I am doing wrong? 
I am really looking for help 

Best regards
ula
-- 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]