List Info

Thread: How to make the parser thread safe ?




How to make the parser thread safe ?
country flaguser name
Sweden
2007-05-02 07:29:45
Hi,

To make parser thread safe,  should i just declare a
variable in my  
yacc file like this %pure-parser (as seen in the second line
of my  
code given below)

will it do everything to make my parser thread safe . should
i use  
other locks and all in my code.

what else should i take care along along with declaring
%pure-parser  
to make my parser thread safe.

i am a beginner in the field of lex and yacc ..
please do help me....

expecting a reply ....

thanks in advance
Arun

------------------------------------------------------------
------------ 
--------------------------------------------
%name Parser

%pure-parser
%header{

#define YYDEBUG      1
#define YYPRINTF     1
#define YYMAXDEPTH   600000
#define YYINITDEPTH  5000
#define YYSTYPE  char *

%}

------------------------------------------------------------
------------ 
--------------------------------------------


_______________________________________________
help-bisongnu.org http
://lists.gnu.org/mailman/listinfo/help-bison

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )