stage1_2/iec.y
changeset 188 b4d81d21b8d3
parent 183 fb240c8d1f66
child 191 0941a912dcae
equal deleted inserted replaced
187:f2cd0b5236f7 188:b4d81d21b8d3
  5905 	{$$ = new instruction_list_c(locloc(@$)); $$->add_element($1);}
  5905 	{$$ = new instruction_list_c(locloc(@$)); $$->add_element($1);}
  5906 | instruction_list il_instruction
  5906 | instruction_list il_instruction
  5907 	{$$ = $1; $$->add_element($2);}
  5907 	{$$ = $1; $$->add_element($2);}
  5908 | instruction_list pragma
  5908 | instruction_list pragma
  5909 	{$$ = $1; $$->add_element($2);}
  5909 	{$$ = $1; $$->add_element($2);}
  5910 /* ERROR_CHECK_BEGIN */
       
  5911 | instruction_list error
       
  5912   {$$ = $1; print_err_msg(locf(@2), locl(@2), "invalid IL instruction."); yyerrok;}
       
  5913 /* ERROR_CHECK_END */
       
  5914 ;
  5910 ;
  5915 
  5911 
  5916 
  5912 
  5917 
  5913 
  5918 il_instruction:
  5914 il_instruction: