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-bison gnu.org http
://lists.gnu.org/mailman/listinfo/help-bison
|