blob: b28fad67e07307c139002b285fc763c5443a6437 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
--- y.tab.cpp Tue Oct 12 13:56:12 1999
+++ y.tab.cpp.new Tue Oct 12 13:53:25 1999
@@ -916,7 +916,7 @@
#ifdef TAO_YYMAXDEPTH
#define TAO_YYSTACKSIZE TAO_YYMAXDEPTH
#else
-#define TAO_YYSTACKSIZE 300
+#define TAO_YYSTACKSIZE 10000
#endif
#endif
int tao_yydebug;
@@ -1111,7 +1111,7 @@
extern char *ace_foo();
#endif
- if (tao_yys = ACE_OS::getenv("TAO_YYDEBUG"))
+ if ((tao_yys = ACE_OS::getenv("TAO_YYDEBUG")))
{
tao_yyn = *tao_yys;
if (tao_yyn >= '0' && tao_yyn <= '9')
@@ -1128,7 +1128,7 @@
*tao_yyssp = tao_yystate = 0;
tao_yyloop:
- if (tao_yyn = tao_yydefred[tao_yystate]) goto tao_yyreduce;
+ if ((tao_yyn = tao_yydefred[tao_yystate])) goto tao_yyreduce;
if (tao_yychar < 0)
{
if ((tao_yychar = tao_yylex()) < 0) tao_yychar = 0;
@@ -1179,11 +1179,10 @@
goto tao_yynewerror;
#endif
- tao_yyerror("syntax error");
+// tao_yyerror("syntax error");
#ifdef lint
goto tao_yyerrlab;
#endif
-tao_yyerrlab:
++tao_yynerrs;
tao_yyinrecovery:
if (tao_yyerrflag < 3)
|