File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ userdebug_or_eng { return USERDEBUG_OR_ENG; }
171171\; { return SEMICOLON; }
172172\` { return BACKTICK; }
173173\' { return SINGLE_QUOTE; }
174- \~ { return TILDA ; }
174+ \~ { return TILDE ; }
175175\* { return STAR; }
176176\- { return DASH; }
177177\&\& { return AND; }
Original file line number Diff line number Diff line change 162162%token SEMICOLON;
163163%token BACKTICK;
164164%token SINGLE_QUOTE;
165- %token TILDA ;
165+ %token TILDE ;
166166%token STAR;
167167%token DASH;
168168%left AND;
@@ -451,7 +451,7 @@ xperm_av_type:
451451xperm_list:
452452 OPEN_CURLY xperm_items CLOSE_CURLY { $$ = $2 ; }
453453 |
454- TILDA xperm_list { $$ = sl_from_str (" ~" ); $$->next = $2 ; }
454+ TILDE xperm_list { $$ = sl_from_str (" ~" ); $$->next = $2 ; }
455455 |
456456 xperm_item { $$ = sl_from_str_consume ($1 ); }
457457 ;
@@ -475,7 +475,7 @@ xperm_item:
475475string_list:
476476 OPEN_CURLY strings CLOSE_CURLY { $$ = $2 ; }
477477 |
478- TILDA string_list { $$ = sl_from_str (" ~" ); $$->next = $2 ; }
478+ TILDE string_list { $$ = sl_from_str (" ~" ); $$->next = $2 ; }
479479 |
480480 sl_item { $$ = sl_from_str_consume ($1 ); }
481481 |
@@ -777,7 +777,7 @@ m4_argument:
777777arg_list:
778778 OPEN_CURLY arg_list_items CLOSE_CURLY { $$ = $2 ; }
779779 |
780- TILDA arg_list { $$ = sl_from_str (" ~" ); $$->next = $2 ; }
780+ TILDE arg_list { $$ = sl_from_str (" ~" ); $$->next = $2 ; }
781781 |
782782 arg_list_item { $$ = sl_from_str_consume ($1 ); }
783783 ;
Original file line number Diff line number Diff line change @@ -1032,10 +1032,10 @@ struct check_result *check_stray_word(const struct check_data
10321032
10331033 // ignore comparison arguments to ifelse
10341034 // (do not ignore last node of block, which is never a comparison argument)
1035- const struct policy_node * ifelse_arument = is_ifelse_argument (node );
1036- if (ifelse_arument && ifelse_arument -> next ) {
1035+ const struct policy_node * ifelse_argument = is_ifelse_argument (node );
1036+ if (ifelse_argument && ifelse_argument -> next ) {
10371037 int position = 0 ;
1038- for (const struct policy_node * cur = ifelse_arument ; cur -> prev ; cur = cur -> prev ) {
1038+ for (const struct policy_node * cur = ifelse_argument ; cur -> prev ; cur = cur -> prev ) {
10391039 position ++ ;
10401040 }
10411041
You can’t perform that action at this time.
0 commit comments