Lines Matching refs:location
75 #define YYRHSLOC(Rhs, K) ((Rhs)[K].location)
206 : super_type (YY_MOVE (that.state), YY_MOVE (that.location)) in stack_symbol_type()
299 : super_type (s, YY_MOVE (that.location)) in stack_symbol_type()
478 location = that.location; in operator =()
570 location = that.location; in operator =()
599 << yysym.location << ": "; in yy_print_()
1057 YYLLOC_DEFAULT (yylhs.location, range, yylen); in parse()
1058 yyerror_range[1].location = yylhs.location; in parse()
1074 …location, yystack_[0].value.as < std::string > ())) { std::stringstream msg; msg << "program " << … in parse()
1078 …{ pioasm.get_current_program(yystack_[0].location, "instruction").add_instruction(yystack_[0].valu… in parse()
1082 …{ auto &p = pioasm.get_current_program(yystack_[0].location, "instruction"); p.add_label(yystack_[… in parse()
1086 …{ pioasm.get_current_program(yystack_[0].location, "label").add_label(yystack_[0].value.as < std::… in parse()
1094 …me; pioasm.get_current_program(yylhs.location, "code block", false, false).add_code_block( code_bl… in parse()
1102 …td::shared_ptr<resolvable> > (); pioasm.get_current_program(yystack_[2].location, ".define", false… in parse()
1106 …{ pioasm.get_current_program(yystack_[1].location, ".origin", true).set_origin(yylhs.location, yys… in parse()
1110 …{ pioasm.get_current_program(yystack_[1].location, ".pio_version", true, false).set_pio_version(yy… in parse()
1114 …{ pioasm.get_current_program(yystack_[3].location, ".side_set", true).set_sideset(yylhs.location, … in parse()
1118 …{ pioasm.get_current_program(yystack_[2].location, ".side_set", true).set_sideset(yylhs.location, … in parse()
1122 …{ pioasm.get_current_program(yystack_[2].location, ".side_set", true).set_sideset(yylhs.location, … in parse()
1126 …{ pioasm.get_current_program(yystack_[1].location, ".side_set", true).set_sideset(yylhs.location, … in parse()
1130 …{ pioasm.get_current_program(yystack_[4].location, ".in", true).set_in(yylhs.location, yystack_[3]… in parse()
1134 …{ pioasm.get_current_program(yystack_[4].location, ".out", true).set_out(yylhs.location, yystack_[… in parse()
1138 …{ pioasm.get_current_program(yystack_[1].location, ".set", true).set_set_count(yylhs.location, yys… in parse()
1142 …{ pioasm.get_current_program(yystack_[0].location, ".wrap_target").set_wrap_target(yylhs.location)… in parse()
1146 … { pioasm.get_current_program(yystack_[0].location, ".wrap").set_wrap(yylhs.location); } in parse()
1150 …urrent_program(yystack_[1].location, "instruction").add_instruction(std::shared_ptr<instruction>(n… in parse()
1154 …{ pioasm.get_current_program(yystack_[4].location, ".lang_opt").add_lang_opt(yystack_[3].value.as … in parse()
1158 …{ pioasm.get_current_program(yystack_[4].location, ".lang_opt").add_lang_opt(yystack_[3].value.as … in parse()
1162 …{ pioasm.get_current_program(yystack_[4].location, ".lang_opt").add_lang_opt(yystack_[3].value.as … in parse()
1166 … { error(yylhs.location, "expected format is .lang_opt language option_name = option_value"); } in parse()
1170 …{ pioasm.get_current_program(yystack_[1].location, ".clock_div").set_clock_div(yylhs.location, yys… in parse()
1174 …{ pioasm.get_current_program(yystack_[1].location, ".clock_div").set_clock_div(yylhs.location, yys… in parse()
1178 …{ pioasm.get_current_program(yystack_[1].location, ".fifo", true).set_fifo_config(yylhs.location, … in parse()
1182 …{ pioasm.get_current_program(yystack_[3].location, ".mov_status", true).set_mov_status(mov_status_… in parse()
1186 …{ pioasm.get_current_program(yystack_[3].location, ".mov_status", true).set_mov_status(mov_status_… in parse()
1190 …{ pioasm.get_current_program(yystack_[4].location, ".mov_status", true).set_mov_status(mov_status_… in parse()
1194 …{ pioasm.get_current_program(yystack_[4].location, ".mov_status", true).set_mov_status(mov_status_… in parse()
1198 …{ pioasm.get_current_program(yystack_[3].location, ".mov_status", true).set_mov_status(mov_status_… in parse()
1202 … { error(yystack_[1].location, "expected 'txfifo < N', 'rxfifo < N' or 'irq set N'"); } in parse()
1206 …tive " << yystack_[0].value.as < std::string > (); throw syntax_error(yylhs.location, msg.str()); } in parse()
1210 …{ yylhs.value.as < std::shared_ptr<resolvable> > () = resolvable_int(yylhs.location, yystack_[0].v… in parse()
1214 …d_ptr<resolvable> > () = std::shared_ptr<resolvable>(new name_ref(yylhs.location, yystack_[0].valu… in parse()
1226 …le> > () = std::shared_ptr<binary_operation>(new binary_operation(yylhs.location, binary_operation… in parse()
1230 …le> > () = std::shared_ptr<binary_operation>(new binary_operation(yylhs.location, binary_operation… in parse()
1234 …le> > () = std::shared_ptr<binary_operation>(new binary_operation(yylhs.location, binary_operation… in parse()
1238 …le> > () = std::shared_ptr<binary_operation>(new binary_operation(yylhs.location, binary_operation… in parse()
1242 …le> > () = std::shared_ptr<binary_operation>(new binary_operation(yylhs.location, binary_operation… in parse()
1246 …le> > () = std::shared_ptr<binary_operation>(new binary_operation(yylhs.location, binary_operation… in parse()
1250 …le> > () = std::shared_ptr<binary_operation>(new binary_operation(yylhs.location, binary_operation… in parse()
1254 …le> > () = std::shared_ptr<binary_operation>(new binary_operation(yylhs.location, binary_operation… in parse()
1258 …le> > () = std::shared_ptr<binary_operation>(new binary_operation(yylhs.location, binary_operation… in parse()
1262 …able> > () = std::shared_ptr<unary_operation>(new unary_operation(yylhs.location, unary_operation:… in parse()
1266 …able> > () = std::shared_ptr<unary_operation>(new unary_operation(yylhs.location, unary_operation:… in parse()
1290 …); yylhs.value.as < std::shared_ptr<instruction> > ()->delay = resolvable_int(yylhs.location, 0); } in parse()
1298 …); yylhs.value.as < std::shared_ptr<instruction> > ()->delay = resolvable_int(yylhs.location, 0); } in parse()
1302 … std::shared_ptr<instruction> > () = std::shared_ptr<instruction>(new instr_nop(yylhs.location)); } in parse()
1306 …tr<instruction> > () = std::shared_ptr<instruction>(new instr_jmp(yylhs.location, yystack_[2].valu… in parse()
1310 …r<instruction> > () = std::shared_ptr<instruction>(new instr_wait(yylhs.location, yystack_[1].valu… in parse()
1314 …> () = std::shared_ptr<instruction>(new instr_wait(yylhs.location, resolvable_int(yylhs.location, … in parse()
1318 …ptr<instruction> > () = std::shared_ptr<instruction>(new instr_in(yylhs.location, yystack_[2].valu… in parse()
1322 …tr<instruction> > () = std::shared_ptr<instruction>(new instr_out(yylhs.location, yystack_[2].valu… in parse()
1326 …r<instruction> > () = std::shared_ptr<instruction>(new instr_push(yylhs.location, yystack_[1].valu… in parse()
1330 …r<instruction> > () = std::shared_ptr<instruction>(new instr_pull(yylhs.location, yystack_[1].valu… in parse()
1334 …tr<instruction> > () = std::shared_ptr<instruction>(new instr_mov(yylhs.location, yystack_[3].valu… in parse()
1338 …tr<instruction> > () = std::shared_ptr<instruction>(new instr_irq(yylhs.location, yystack_[2].valu… in parse()
1342 …(1, yylhs.location, "irq prev"); yylhs.value.as < std::shared_ptr<instruction> > () = std::shared_… in parse()
1346 …(1, yylhs.location, "irq next"); yylhs.value.as < std::shared_ptr<instruction> > () = std::shared_… in parse()
1350 …{ pioasm.check_version(1, yylhs.location, "irq prev"); error(yystack_[0].location, "'rel' is not s… in parse()
1354 …{ pioasm.check_version(1, yylhs.location, "irq next"); error(yystack_[0].location, "'rel' is not s… in parse()
1358 …tr<instruction> > () = std::shared_ptr<instruction>(new instr_irq(yylhs.location, yystack_[1].valu… in parse()
1362 …tr<instruction> > () = std::shared_ptr<instruction>(new instr_set(yylhs.location, yystack_[2].valu… in parse()
1410 …{ pioasm.check_version(1, yylhs.location, "irq prev"); yylhs.value.as < std::shared_ptr<wait_sourc… in parse()
1414 …{ pioasm.check_version(1, yylhs.location, "irq next"); yylhs.value.as < std::shared_ptr<wait_sourc… in parse()
1418 …{ pioasm.check_version(1, yylhs.location, "irq prev"); error(yystack_[0].location, "'rel' is not s… in parse()
1422 …{ pioasm.check_version(1, yylhs.location, "irq next"); error(yystack_[0].location, "'rel' is not s… in parse()
1438 …location, "wait jmppin"); yylhs.value.as < std::shared_ptr<wait_source> > () = std::shared_ptr<wai… in parse()
1442 …{ pioasm.check_version(1, yylhs.location, "wait jmppin"); yylhs.value.as < std::shared_ptr<wait_so… in parse()
1446 …{ error(yystack_[0].location, pioasm.version_string(1, "expected irq, gpio, pin or jmp_pin", "expe… in parse()
1462 …{ pioasm.check_version(1, yylhs.location, "txput"); yylhs.value.as < enum fifo_config > () = fifo_… in parse()
1466 …{ pioasm.check_version(1, yylhs.location, "rxput"); yylhs.value.as < enum fifo_config > () = fifo_… in parse()
1470 …{ pioasm.check_version(1, yylhs.location, "putget"); yylhs.value.as < enum fifo_config > () = fifo… in parse()
1474 …{ error(yystack_[0].location, pioasm.version_string(1, "expected txrx, tx, rx, txput, rxget or put… in parse()
1566 …{ pioasm.check_version(1, yylhs.location, "mov pindirs"); yylhs.value.as < extended_mov > () = mov… in parse()
1570 …{ pioasm.check_version(1, yylhs.location, "mov rxfifo[], "); yylhs.value.as < extended_mov > () = … in parse()
1574 …{ pioasm.check_version(1, yylhs.location, "mov rxfifo[], "); yylhs.value.as < extended_mov > () = … in parse()
1606 …{ pioasm.check_version(1, yylhs.location, "mov rxfifo[], "); yylhs.value.as < extended_mov > () = … in parse()
1610 …{ pioasm.check_version(1, yylhs.location, "mov rxfifo[], "); yylhs.value.as < extended_mov > () = … in parse()
1670 … { yylhs.value.as < std::shared_ptr<resolvable> > () = resolvable_int(yylhs.location, 32); } in parse()
1722 …std::shared_ptr<symbol> > () = std::shared_ptr<symbol>(new symbol(yylhs.location, yystack_[0].valu… in parse()
1726 …std::shared_ptr<symbol> > () = std::shared_ptr<symbol>(new symbol(yylhs.location, yystack_[0].valu… in parse()
1730 …std::shared_ptr<symbol> > () = std::shared_ptr<symbol>(new symbol(yylhs.location, yystack_[0].valu… in parse()
1767 error (yyla.location, YY_MOVE (msg)); in parse()
1771 yyerror_range[1].location = yyla.location; in parse()
1833 yyerror_range[1].location = yystack_[0].location; in parse()
1841 yyerror_range[2].location = yyla.location; in parse()
1842 YYLLOC_DEFAULT (error_token.location, yyerror_range, 2); in parse()
1909 error (yyexc.location, yyexc.what ()); in error()