mirror of
				https://gitlab.labs.nic.cz/labs/bird.git
				synced 2024-05-11 16:54:54 +00:00 
			
		
		
		
	Please *think* when defining operator priorities.
(-: num_of_parser_conflicts -= 42 :-)
This commit is contained in:
		@@ -39,8 +39,6 @@ CF_KEYWORDS(FUNCTION, PRINT, PRINTN, CONST, UNSET, RETURN,
 | 
			
		||||
%nonassoc THEN
 | 
			
		||||
%nonassoc ELSE
 | 
			
		||||
 | 
			
		||||
%token GEQ LEQ NEQ
 | 
			
		||||
 | 
			
		||||
%type <x> term block cmds cmd function_body constant print_one print_list var_list var_listn dynamic_attr function_call
 | 
			
		||||
%type <f> filter filter_body where_filter
 | 
			
		||||
%type <i> type break_command pair
 | 
			
		||||
@@ -298,8 +296,6 @@ function_call:
 | 
			
		||||
   }
 | 
			
		||||
 ;
 | 
			
		||||
 | 
			
		||||
/* NEQ, LEQ and GEQ are responsible for 42 shift/reduce conflicts */
 | 
			
		||||
 | 
			
		||||
term:
 | 
			
		||||
   '(' term ')'      { $$ = $2; }
 | 
			
		||||
 | term '+' term     { $$ = f_new_inst(); $$->code = '+';        $$->a1.p = $1; $$->a2.p = $3; }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user