Line 0
Link Here
|
|
|
1 |
--- policy/backend/lex.yy_policy_backend_parser.cc.orig 2018-07-10 15:46:56 UTC |
2 |
+++ policy/backend/lex.yy_policy_backend_parser.cc |
3 |
@@ -728,9 +728,9 @@ extern int yy_policy_backend_parserlex ( |
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 40 "backend.l" |
15 |
|
16 |
@@ -779,7 +779,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 |
@@ -1171,9 +1171,9 @@ case YY_STATE_EOF(STR): |
26 |
*/ |
27 |
static int yy_get_next_buffer (void) |
28 |
{ |
29 |
- register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; |
30 |
- register char *source = (yytext_ptr); |
31 |
- register int number_to_move, i; |
32 |
+ char *dest = YY_CURRENT_BUFFER_LVALUE->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_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) |
38 |
@@ -1297,14 +1297,14 @@ static int yy_get_next_buffer (void) |
39 |
|
40 |
static yy_state_type yy_get_previous_state (void) |
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 |
@@ -1329,10 +1329,10 @@ static int yy_get_next_buffer (void) |
57 |
*/ |
58 |
static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) |
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 |
@@ -1933,7 +1933,7 @@ int yy_policy_backend_parserlex_destroy |
71 |
#ifndef yytext_ptr |
72 |
static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) |
73 |
{ |
74 |
- register int i; |
75 |
+ int i; |
76 |
for ( i = 0; i < n; ++i ) |
77 |
s1[i] = s2[i]; |
78 |
} |
79 |
@@ -1942,7 +1942,7 @@ static void yy_flex_strncpy (char* s1, y |
80 |
#ifdef YY_NEED_STRLEN |
81 |
static int yy_flex_strlen (yyconst char * s ) |
82 |
{ |
83 |
- register int n; |
84 |
+ int n; |
85 |
for ( n = 0; s[n]; ++n ) |
86 |
; |
87 |
|