summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/fe/y.tab.cpp.diff
blob: a239775ea31b3a45f4d5ea8d2f171443dd4a3ec3 (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 Dec 19 09:31:07 2000
+++ y.tab.cpp.mod	Tue Dec 19 09:28:09 2000
@@ -951,7 +951,7 @@
 #ifdef TAO_YYMAXDEPTH
 #define TAO_YYSTACKSIZE TAO_YYMAXDEPTH
 #else
-#define TAO_YYSTACKSIZE 300
+#define TAO_YYSTACKSIZE 10000
 #endif
 #endif
 int tao_yydebug;
@@ -1146,7 +1146,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')
@@ -1163,7 +1163,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;
@@ -1213,11 +1213,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)