~bl4ckb0ne/boson

9b1786213591691b8cb41ec06ada111af11c30a0 — Simon Zeni 9 months ago ae4b74a master
setup: print token with loc on BOSON_STAGE lex
1 files changed, 1 insertions(+), 1 deletions(-)

M src/setup.c
M src/setup.c => src/setup.c +1 -1
@@ 127,7 127,7 @@ setup(int argc, char **argv)
		info("printing out tokens");
		struct token token = {0};
		while (lex(&lexer, &token) != T_EOF) {
			info("token: %s", token_str(&token));
			info("%s: %s", loc_str(&token.loc), token_str(&token));
			token_finish(&token);
		}
		lexer_finish(&lexer);