summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/fe/lex.yy.cpp.diff
blob: 89544d77ddea6eef011cc9d36de9b36da47af02f (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
--- lex.yy.cpp	Sat Jul  3 18:55:03 1999
+++ lex.yy.cpp.new	Sat Jul  3 18:52:58 1999
@@ -927,7 +927,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 \
@@ -939,7 +939,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 124 "fe/idl.ll"
@@ -1405,7 +1405,7 @@
   		  idl_global->set_lineno(idl_global->lineno() + 1);
 		  idl_store_pragma(ace_tao_yytext);
 		}
-	TAO_YY_BREAK
+	break;
 case 64:
 #line 263 "fe/idl.ll"
 case 65:
@@ -1414,7 +1414,7 @@
 {
 		  idl_parse_line_and_file(ace_tao_yytext);
 		}
-	TAO_YY_BREAK
+	break;
 case 66:
 #line 267 "fe/idl.ll"
 case 67:
@@ -1423,7 +1423,7 @@
 {
 		  idl_parse_line_and_file(ace_tao_yytext);
 		}
-	TAO_YY_BREAK
+	break;
 case 68:
 #line 271 "fe/idl.ll"
 case 69:
@@ -1432,7 +1432,7 @@
 {
 		  idl_parse_line_and_file(ace_tao_yytext);
 		}
-	TAO_YY_BREAK
+	break;
 case 70:
 #line 275 "fe/idl.ll"
 case 71:
@@ -1441,7 +1441,7 @@
 {
 		  idl_parse_line_and_file(ace_tao_yytext);
 	        }
-	TAO_YY_BREAK
+	break;
 case 72:
 #line 279 "fe/idl.ll"
 case 73:
@@ -1451,7 +1451,7 @@
 		  /* ignore cpp ident */
   		  idl_global->set_lineno(idl_global->lineno() + 1);
 		}
-	TAO_YY_BREAK
+	break;
 case 74:
 TAO_YY_RULE_SETUP
 #line 283 "fe/idl.ll"
@@ -1459,7 +1459,7 @@
 		  /* ignore comments */
   		  idl_global->set_lineno(idl_global->lineno() + 1);
 		}
-	TAO_YY_BREAK
+	break;
 case 75:
 TAO_YY_RULE_SETUP
 #line 287 "fe/idl.ll"
@@ -1477,7 +1477,7 @@
 		    }
 	          }
 	        }
-	TAO_YY_BREAK
+	break;
 case 76:
 TAO_YY_RULE_SETUP
 #line 301 "fe/idl.ll"
@@ -1489,7 +1489,7 @@
 {
   		  idl_global->set_lineno(idl_global->lineno() + 1);
 		}
-	TAO_YY_BREAK
+	break;
 case 78:
 TAO_YY_RULE_SETUP
 #line 305 "fe/idl.ll"