summaryrefslogtreecommitdiff
path: root/modules/TAO/TAO_IDL/fe/lex.yy.cpp.diff
blob: 0e0b5fb106e6aa3cf90fb2861949458ed8383529 (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
116
117
118
119
120
121
122
--- lex.yy.cpp.orig	2009-06-23 13:18:22.000000000 -0500
+++ lex.yy.cpp	2009-06-23 13:49:49.000000000 -0500
@@ -27,7 +27,7 @@
 
 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
 
-#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
+#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L || defined (__HP_aCC)
 
 /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
  * if you want the limit (max/min) macros for int types.
@@ -35,6 +35,7 @@
 #ifndef __STDC_LIMIT_MACROS
 #define __STDC_LIMIT_MACROS 1
 #endif
+#include <inttypes.h>
 
 typedef int8_t flex_int8_t;
 typedef uint8_t flex_uint8_t;
@@ -1775,7 +1775,7 @@ TAO_YY_RULE_SETUP
                   idl_global->set_lineno(idl_global->lineno() + 1);
                   idl_store_pragma(ace_tao_yytext);
                 }
-        TAO_YY_BREAK
+         break;
 case 94:
 /* rule 94 can match eol */
 case 95:
@@ -1784,7 +1784,7 @@ TAO_YY_RULE_SETUP
 {/* ignore file */
                   idl_global->set_lineno(idl_global->lineno() + 1);
                 }
-        TAO_YY_BREAK
+         break;
 case 96:
 /* rule 96 can match eol */
 case 97:
@@ -1793,7 +1793,7 @@ TAO_YY_RULE_SETUP
 {
                   idl_parse_line_and_file(ace_tao_yytext);
                 }
-        TAO_YY_BREAK
+         break;
 case 98:
 /* rule 98 can match eol */
 case 99:
@@ -1802,7 +1802,7 @@ TAO_YY_RULE_SETUP
 {
                   idl_parse_line_and_file(ace_tao_yytext);
                 }
-        TAO_YY_BREAK
+         break;
 case 100:
 /* rule 100 can match eol */
 case 101:
@@ -1811,7 +1811,7 @@ TAO_YY_RULE_SETUP
 {
                   idl_parse_line_and_file(ace_tao_yytext);
                 }
-        TAO_YY_BREAK
+         break;
 case 102:
 /* rule 102 can match eol */
 case 103:
@@ -1820,7 +1820,7 @@ TAO_YY_RULE_SETUP
 {
                   idl_parse_line_and_file(ace_tao_yytext);
                 }
-        TAO_YY_BREAK
+         break;
 case 104:
 /* rule 104 can match eol */
 case 105:
@@ -1830,7 +1830,7 @@ TAO_YY_RULE_SETUP
                   /* ignore cpp ident */
                   idl_global->set_lineno(idl_global->lineno() + 1);
                 }
-        TAO_YY_BREAK
+         break;
 case 106:
 /* rule 106 can match eol */
 TAO_YY_RULE_SETUP
@@ -1838,7 +1838,7 @@ TAO_YY_RULE_SETUP
                   /* ignore comments */
                   idl_global->set_lineno(idl_global->lineno() + 1);
                 }
-        TAO_YY_BREAK
+         break;
 case 107:
 TAO_YY_RULE_SETUP
 {
@@ -1856,18 +1856,18 @@ TAO_YY_RULE_SETUP
                     }
                   }
                 }
-        TAO_YY_BREAK
+        break;
 case 108:
 TAO_YY_RULE_SETUP
 ;
-        TAO_YY_BREAK
+         break;
 case 109:
 /* rule 109 can match eol */
 TAO_YY_RULE_SETUP
 {
                   idl_global->set_lineno(idl_global->lineno() + 1);
                 }
-        TAO_YY_BREAK
+         break;
 case 110:
 TAO_YY_RULE_SETUP
 return ace_tao_yytext [0];
@@ -1875,7 +1875,7 @@ return ace_tao_yytext [0];
 case 111:
 TAO_YY_RULE_SETUP
 TAO_YY_ECHO;
-        TAO_YY_BREAK
+         break;
 case TAO_YY_STATE_EOF(INITIAL):
         tao_yyterminate();