List Info

Thread: how to make parser thread safe ?




how to make parser thread safe ?
country flaguser name
India
2007-05-02 08:15:49
  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 )