Line 0
Link Here
|
|
|
1 |
--- rtrmgr/lex.opcmd.cc.orig 2018-07-12 13:48:34 UTC |
2 |
+++ rtrmgr/lex.opcmd.cc |
3 |
@@ -640,9 +640,9 @@ YY_MALLOC_DECL |
4 |
|
5 |
YY_DECL |
6 |
{ |
7 |
- register yy_state_type yy_current_state; |
8 |
- register char *yy_cp, *yy_bp; |
9 |
- register int yy_act; |
10 |
+ yy_state_type yy_current_state; |
11 |
+ char *yy_cp, *yy_bp; |
12 |
+ int yy_act; |
13 |
|
14 |
#line 31 "op_commands.ll" |
15 |
|
16 |
@@ -689,7 +689,7 @@ YY_DECL |
17 |
yy_match: |
18 |
do |
19 |
{ |
20 |
- register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; |
21 |
+ YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; |
22 |
if ( yy_accept[yy_current_state] ) |
23 |
{ |
24 |
yy_last_accepting_state = yy_current_state; |
25 |
@@ -1085,9 +1085,9 @@ case YY_STATE_EOF(string): |
26 |
|
27 |
static int yy_get_next_buffer() |
28 |
{ |
29 |
- register char *dest = yy_current_buffer->yy_ch_buf; |
30 |
- register char *source = yytext_ptr; |
31 |
- register int number_to_move, i; |
32 |
+ char *dest = yy_current_buffer->yy_ch_buf; |
33 |
+ char *source = yytext_ptr; |
34 |
+ int number_to_move, i; |
35 |
int ret_val; |
36 |
|
37 |
if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] ) |
38 |
@@ -1217,14 +1217,14 @@ static int yy_get_next_buffer() |
39 |
|
40 |
static yy_state_type yy_get_previous_state() |
41 |
{ |
42 |
- register yy_state_type yy_current_state; |
43 |
- register char *yy_cp; |
44 |
+ yy_state_type yy_current_state; |
45 |
+ char *yy_cp; |
46 |
|
47 |
yy_current_state = yy_start; |
48 |
|
49 |
for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp ) |
50 |
{ |
51 |
- register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); |
52 |
+ YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); |
53 |
if ( yy_accept[yy_current_state] ) |
54 |
{ |
55 |
yy_last_accepting_state = yy_current_state; |
56 |
@@ -1256,10 +1256,10 @@ static yy_state_type yy_try_NUL_trans( y |
57 |
yy_state_type yy_current_state; |
58 |
#endif |
59 |
{ |
60 |
- register int yy_is_jam; |
61 |
- register char *yy_cp = yy_c_buf_p; |
62 |
+ int yy_is_jam; |
63 |
+ char *yy_cp = yy_c_buf_p; |
64 |
|
65 |
- register YY_CHAR yy_c = 1; |
66 |
+ YY_CHAR yy_c = 1; |
67 |
if ( yy_accept[yy_current_state] ) |
68 |
{ |
69 |
yy_last_accepting_state = yy_current_state; |
70 |
@@ -1280,14 +1280,14 @@ yy_state_type yy_current_state; |
71 |
|
72 |
#ifndef YY_NO_UNPUT |
73 |
#ifdef YY_USE_PROTOS |
74 |
-static void yyunput( int c, register char *yy_bp ) |
75 |
+static void yyunput( int c, char *yy_bp ) |
76 |
#else |
77 |
static void yyunput( c, yy_bp ) |
78 |
int c; |
79 |
-register char *yy_bp; |
80 |
+char *yy_bp; |
81 |
#endif |
82 |
{ |
83 |
- register char *yy_cp = yy_c_buf_p; |
84 |
+ char *yy_cp = yy_c_buf_p; |
85 |
|
86 |
/* undo effects of setting up yytext */ |
87 |
*yy_cp = yy_hold_char; |
88 |
@@ -1295,10 +1295,10 @@ register char *yy_bp; |
89 |
if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) |
90 |
{ /* need to shift things up to make room */ |
91 |
/* +2 for EOB chars. */ |
92 |
- register int number_to_move = yy_n_chars + 2; |
93 |
- register char *dest = &yy_current_buffer->yy_ch_buf[ |
94 |
+ int number_to_move = yy_n_chars + 2; |
95 |
+ char *dest = &yy_current_buffer->yy_ch_buf[ |
96 |
yy_current_buffer->yy_buf_size + 2]; |
97 |
- register char *source = |
98 |
+ char *source = |
99 |
&yy_current_buffer->yy_ch_buf[number_to_move]; |
100 |
|
101 |
while ( source > yy_current_buffer->yy_ch_buf ) |
102 |
@@ -1760,7 +1760,7 @@ yyconst char *s2; |
103 |
int n; |
104 |
#endif |
105 |
{ |
106 |
- register int i; |
107 |
+ int i; |
108 |
for ( i = 0; i < n; ++i ) |
109 |
s1[i] = s2[i]; |
110 |
} |
111 |
@@ -1774,7 +1774,7 @@ static int yy_flex_strlen( s ) |
112 |
yyconst char *s; |
113 |
#endif |
114 |
{ |
115 |
- register int n; |
116 |
+ int n; |
117 |
for ( n = 0; s[n]; ++n ) |
118 |
; |
119 |
|