summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/fe/lex.yy.cpp.diff
blob: 55b574165f9f34c93db50fad2699c60b39f5b519 (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	Tue Aug 10 21:36:26 1999
+++ lex.yy.cpp.new	Tue Aug 10 21:33:21 1999
@@ -939,7 +939,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 \
@@ -951,7 +951,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 125 "fe/idl.ll"
@@ -1435,7 +1435,7 @@
   		  idl_global->set_lineno(idl_global->lineno() + 1);
 		  idl_store_pragma(ace_tao_yytext);
 		}
-	TAO_YY_BREAK
+	break;
 case 66:
 #line 274 "fe/idl.ll"
 case 67:
@@ -1444,7 +1444,7 @@
 {
 		  idl_parse_line_and_file(ace_tao_yytext);
 		}
-	TAO_YY_BREAK
+	break;
 case 68:
 #line 278 "fe/idl.ll"
 case 69:
@@ -1453,7 +1453,7 @@
 {
 		  idl_parse_line_and_file(ace_tao_yytext);
 		}
-	TAO_YY_BREAK
+	break;
 case 70:
 #line 282 "fe/idl.ll"
 case 71:
@@ -1462,7 +1462,7 @@
 {
 		  idl_parse_line_and_file(ace_tao_yytext);
 		}
-	TAO_YY_BREAK
+	break;
 case 72:
 #line 286 "fe/idl.ll"
 case 73:
@@ -1471,7 +1471,7 @@
 {
 		  idl_parse_line_and_file(ace_tao_yytext);
 	        }
-	TAO_YY_BREAK
+	break;
 case 74:
 #line 290 "fe/idl.ll"
 case 75:
@@ -1481,7 +1481,7 @@
 		  /* ignore cpp ident */
   		  idl_global->set_lineno(idl_global->lineno() + 1);
 		}
-	TAO_YY_BREAK
+	break;
 case 76:
 TAO_YY_RULE_SETUP
 #line 294 "fe/idl.ll"
@@ -1489,7 +1489,7 @@
 		  /* ignore comments */
   		  idl_global->set_lineno(idl_global->lineno() + 1);
 		}
-	TAO_YY_BREAK
+	break;
 case 77:
 TAO_YY_RULE_SETUP
 #line 298 "fe/idl.ll"
@@ -1507,19 +1507,19 @@
 		    }
 	          }
 	        }
-	TAO_YY_BREAK
+	break;
 case 78:
 TAO_YY_RULE_SETUP
 #line 312 "fe/idl.ll"
 ;
-	TAO_YY_BREAK
+  break;
 case 79:
 TAO_YY_RULE_SETUP
 #line 313 "fe/idl.ll"
 {
   		  idl_global->set_lineno(idl_global->lineno() + 1);
 		}
-	TAO_YY_BREAK
+	break;
 case 80:
 TAO_YY_RULE_SETUP
 #line 316 "fe/idl.ll"
@@ -1529,7 +1529,7 @@
 TAO_YY_RULE_SETUP
 #line 318 "fe/idl.ll"
 TAO_YY_ECHO;
-	TAO_YY_BREAK
+  break;
 case TAO_YY_STATE_EOF(INITIAL):
 	tao_yyterminate();