Lines Matching refs:l
57 void program::set_pio_version(const yy::location &l, int version) { in set_pio_version() argument
59 throw syntax_error(l, "only PIO versions 0 (rp2040) and 1 (rp2350) are supported"); in set_pio_version()
64 void program::set_clock_div(const yy::location &l, float clock_div) { in set_clock_div() argument
66 throw syntax_error(l, "clock divider must be between 1 and 65546"); in set_clock_div()
76 void program::set_fifo_config(const yy::location &l, fifo_config config) { in set_fifo_config() argument
77 fifo_loc = l; in set_fifo_config()
152 void program::set_wrap(const yy::location &l) { in set_wrap() argument
156 throw syntax_error(l, msg.str()); in set_wrap()
159 throw syntax_error(l, ".wrap cannot be placed before the first program instruction"); in set_wrap()
161 wrap = resolvable_int(l, instructions.size() - 1); in set_wrap()
164 void program::set_wrap_target(const yy::location &l) { in set_wrap_target() argument
168 throw syntax_error(l, msg.str()); in set_wrap_target()
170 wrap_target = resolvable_int(l, instructions.size()); in set_wrap_target()