summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/fe/lex.yy.cpp.diff
blob: 04025962b5449b8f1a070721e54c5a45355da7d7 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
--- lex.yy.cpp.orig	Wed Dec 29 07:18:42 1999
+++ lex.yy.cpp	Wed Dec 29 07:17:42 1999
@@ -963,7 +963,7 @@
 
 /* Code executed at the end of each rule. */
 #ifndef TAO_YY_BREAK
-#define TAO_YY_BREAK break;
+#define TAO_YY_BREAK ACE_NOTREACHED (break;)
 #endif
 
 #define TAO_YY_RULE_SETUP \
@@ -979,7 +979,7 @@
 TAO_YY_DECL
 	{
 	register tao_yy_state_type tao_yy_current_state;
-	register char *tao_yy_cp, *tao_yy_bp;
+	register char *tao_yy_cp = 0, *tao_yy_bp = 0;
 	register int tao_yy_act;
 
 #line 126 "fe/idl.ll"
@@ -1481,7 +1481,7 @@
   		  idl_global->set_lineno(idl_global->lineno() + 1);
 		  idl_store_pragma(ace_tao_yytext);
 		}
-	TAO_YY_BREAK
+	break;
 case 68:
 #line 285 "fe/idl.ll"
 case 69:
@@ -1490,7 +1490,7 @@
 {
 		  idl_parse_line_and_file(ace_tao_yytext);
 		}
-	TAO_YY_BREAK
+	break;
 case 70:
 #line 289 "fe/idl.ll"
 case 71:
@@ -1499,7 +1499,7 @@
 {
 		  idl_parse_line_and_file(ace_tao_yytext);
 		}
-	TAO_YY_BREAK
+	break;
 case 72:
 #line 293 "fe/idl.ll"
 case 73:
@@ -1508,7 +1508,7 @@
 {
 		  idl_parse_line_and_file(ace_tao_yytext);
 		}
-	TAO_YY_BREAK
+	break;
 case 74:
 #line 297 "fe/idl.ll"
 case 75:
@@ -1517,7 +1517,7 @@
 {
 		  idl_parse_line_and_file(ace_tao_yytext);
 	        }
-	TAO_YY_BREAK
+	break;
 case 76:
 #line 301 "fe/idl.ll"
 case 77:
@@ -1527,7 +1527,7 @@
 		  /* ignore cpp ident */
   		  idl_global->set_lineno(idl_global->lineno() + 1);
 		}
-	TAO_YY_BREAK
+	break;
 case 78:
 TAO_YY_RULE_SETUP
 #line 305 "fe/idl.ll"
@@ -1535,7 +1535,7 @@
 		  /* ignore comments */
   		  idl_global->set_lineno(idl_global->lineno() + 1);
 		}
-	TAO_YY_BREAK
+	break;
 case 79:
 TAO_YY_RULE_SETUP
 #line 309 "fe/idl.ll"
@@ -1553,19 +1553,19 @@
 		    }
 	          }
 	        }
-	TAO_YY_BREAK
+	break;
 case 80:
 TAO_YY_RULE_SETUP
 #line 323 "fe/idl.ll"
 ;
-	TAO_YY_BREAK
+  break;
 case 81:
 TAO_YY_RULE_SETUP
 #line 324 "fe/idl.ll"
 {
   		  idl_global->set_lineno(idl_global->lineno() + 1);
 		}
-	TAO_YY_BREAK
+	break;
 case 82:
 TAO_YY_RULE_SETUP
 #line 327 "fe/idl.ll"
@@ -1575,7 +1575,7 @@
 TAO_YY_RULE_SETUP
 #line 329 "fe/idl.ll"
 TAO_YY_ECHO;
-	TAO_YY_BREAK
+  break;
 case TAO_YY_STATE_EOF(INITIAL):
 	tao_yyterminate();