Searched refs:syntax_error (Results 1 – 7 of 7) sorted by relevance
/hal_rpi_pico-latest/tools/pioasm/ |
D | pio_assembler.cpp | 16 using syntax_error = yy::parser::syntax_error; typedef 44 throw syntax_error(inst->location, msg.str()); in add_instruction() 49 throw syntax_error(inst->location, msg.str()); in add_instruction() 55 using syntax_error = syntax_error; typedef 59 throw syntax_error(l, "only PIO versions 0 (rp2040) and 1 (rp2350) are supported"); in set_pio_version() 66 throw syntax_error(l, "clock divider must be between 1 and 65546"); in set_clock_div() 93 throw syntax_error(symbol->location, msg.str()); in add_symbol() 121 throw syntax_error(location, "internal error"); in resolve() 148 throw syntax_error(location, "internal error"); in resolve() 156 throw syntax_error(l, msg.str()); in set_wrap() [all …]
|
D | pio_assembler.h | 22 using syntax_error = yy::parser::syntax_error; 67 throw syntax_error(l, msg.str()); 75 throw syntax_error(l, msg.str()); 110 throw syntax_error(l, msg.str()); in check_version()
|
D | lexer.ll | 103 . { throw yy::parser::syntax_error(loc, "invalid character: " + s… 223 . { throw yy::parser::syntax_error(loc, "invalid character: " + s… 232 throw yy::parser::syntax_error (loc, "integer is out of range: " + s); 248 throw yy::parser::syntax_error (loc, "hex is out of range: " + s); 257 throw yy::parser::syntax_error (loc, "binary is out of range: " + s);
|
D | parser.yy | 221 … { std::stringstream msg; msg << "unknown directive " << $1; throw syntax_error(@$, msg.str());…
|
/hal_rpi_pico-latest/tools/pioasm/gen/ |
D | lexer.cpp | 1346 { throw yy::parser::syntax_error(loc, "invalid character: " + std::string(yytext)); } 1757 { throw yy::parser::syntax_error(loc, "invalid character: " + std::string(yytext)); } 2871 throw yy::parser::syntax_error (loc, "integer is out of range: " + s); in make_INT() 2887 throw yy::parser::syntax_error (loc, "hex is out of range: " + s); in make_HEX() 2896 throw yy::parser::syntax_error (loc, "binary is out of range: " + s); in make_BINARY()
|
D | parser.cpp | 158 parser::syntax_error::~syntax_error () YY_NOEXCEPT YY_NOTHROW in ~syntax_error() 895 catch (const syntax_error& yyexc) in parse() 1206 …unknown directive " << yystack_[0].value.as < std::string > (); throw syntax_error(yylhs.location,… in parse() 1740 catch (const syntax_error& yyexc) in parse() 1907 parser::error (const syntax_error& yyexc) in error()
|
D | parser.hpp | 467 struct syntax_error : std::runtime_error struct in yy::parser 469 syntax_error (const location_type& l, const std::string& m) in syntax_error() function 474 syntax_error (const syntax_error& s) in syntax_error() function 479 ~syntax_error () YY_NOEXCEPT YY_NOTHROW; 1347 void error (const syntax_error& err);
|