From 6ecf20b8eab27eb1e8058dd904cd7207b41c9b4a Mon Sep 17 00:00:00 2001 From: parsons Date: Wed, 11 Aug 1999 02:57:41 +0000 Subject: Subsituted a real break; for a couple of ACE_NOTREACHED (break;)s where there was a need (no preceding 'return' statement). --- TAO/TAO_IDL/fe/lex.yy.cpp | 6 +++--- TAO/TAO_IDL/fe/lex.yy.cpp.diff | 22 ++++++++++++++++++---- 2 files changed, 21 insertions(+), 7 deletions(-) (limited to 'TAO/TAO_IDL') diff --git a/TAO/TAO_IDL/fe/lex.yy.cpp b/TAO/TAO_IDL/fe/lex.yy.cpp index 1906aa25f28..02082da099e 100644 --- a/TAO/TAO_IDL/fe/lex.yy.cpp +++ b/TAO/TAO_IDL/fe/lex.yy.cpp @@ -674,7 +674,7 @@ char *tao_yytext_ptr; #line 1 "fe/idl.ll" #define INITIAL 0 #line 2 "fe/idl.ll" -/* $Id: idl.ll,v 1.39 1999/07/03 22:45:51 parsons Exp $ +/* $Id: idl.ll,v 1.40 1999/07/13 00:20:05 parsons Exp $ COPYRIGHT @@ -1482,7 +1482,7 @@ case 76: TAO_YY_RULE_SETUP #line 301 "fe/idl.ll" ; - TAO_YY_BREAK + break; case 77: TAO_YY_RULE_SETUP #line 302 "fe/idl.ll" @@ -1499,7 +1499,7 @@ case 79: TAO_YY_RULE_SETUP #line 307 "fe/idl.ll" TAO_YY_ECHO; - TAO_YY_BREAK + break; case TAO_YY_STATE_EOF(INITIAL): tao_yyterminate(); diff --git a/TAO/TAO_IDL/fe/lex.yy.cpp.diff b/TAO/TAO_IDL/fe/lex.yy.cpp.diff index 89544d77dde..61c2db5acf0 100644 --- a/TAO/TAO_IDL/fe/lex.yy.cpp.diff +++ b/TAO/TAO_IDL/fe/lex.yy.cpp.diff @@ -1,5 +1,5 @@ ---- lex.yy.cpp Sat Jul 3 18:55:03 1999 -+++ lex.yy.cpp.new Sat Jul 3 18:52:58 1999 +--- lex.yy.cpp Tue Aug 10 21:36:26 1999 ++++ lex.yy.cpp.new Tue Aug 10 21:33:21 1999 @@ -927,7 +927,7 @@ /* Code executed at the end of each rule. */ @@ -81,7 +81,7 @@ case 75: TAO_YY_RULE_SETUP #line 287 "fe/idl.ll" -@@ -1477,7 +1477,7 @@ +@@ -1477,19 +1477,19 @@ } } } @@ -90,7 +90,12 @@ case 76: TAO_YY_RULE_SETUP #line 301 "fe/idl.ll" -@@ -1489,7 +1489,7 @@ + ; +- TAO_YY_BREAK ++ break; + case 77: + TAO_YY_RULE_SETUP + #line 302 "fe/idl.ll" { idl_global->set_lineno(idl_global->lineno() + 1); } @@ -99,3 +104,12 @@ case 78: TAO_YY_RULE_SETUP #line 305 "fe/idl.ll" +@@ -1499,7 +1499,7 @@ + TAO_YY_RULE_SETUP + #line 307 "fe/idl.ll" + TAO_YY_ECHO; +- TAO_YY_BREAK ++ break; + case TAO_YY_STATE_EOF(INITIAL): + tao_yyterminate(); + -- cgit v1.2.1