From c21fc77e9f22694c60bbfec16b165bd075093530 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Fri, 25 Jul 2025 17:54:16 -0400 Subject: oasm: lex: lex_is_mro() -> tok_is_mro() Improve naming consistency Signed-off-by: Ian Moffett --- usr.bin/oasm/parse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/oasm/parse.c') diff --git a/usr.bin/oasm/parse.c b/usr.bin/oasm/parse.c index 69c21f9..3389802 100644 --- a/usr.bin/oasm/parse.c +++ b/usr.bin/oasm/parse.c @@ -127,7 +127,7 @@ parse_reg(struct oasm_state *state, struct oasm_token *tok) state->last = tok->type; break; default: - if (lex_is_mro(state->last)) { + if (tok_is_mro(state->last)) { state->last = tok->type; break; } @@ -205,7 +205,7 @@ parse_tok(struct oasm_state *state, struct oasm_token *tok) emit_osmx64(&emit_state, tok); break; default: - if (lex_is_mro(tok->type)) { + if (tok_is_mro(tok->type)) { state->last = tok->type; emit_osmx64(&emit_state, tok); return 0; -- cgit v1.2.3