From cc77889d11c3c40c554d4a12c593959c592133e1 Mon Sep 17 00:00:00 2001 From: joshvera Date: Mon, 30 Nov 2015 14:19:50 -0500 Subject: [PATCH] combine logs --- src/runtime/lexer.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/runtime/lexer.c b/src/runtime/lexer.c index a355b094..d15f8d19 100644 --- a/src/runtime/lexer.c +++ b/src/runtime/lexer.c @@ -51,11 +51,9 @@ static void ts_lexer__start(TSLexer *self, TSStateId lex_state) { } static void ts_lexer__start_token(TSLexer *self) { - LOG("start_token chars:%lu", self->current_position.chars); - self->token_start_position = self->current_position; + LOG("start_token chars:%lu, rows:%lu, columns:%lu", self->current_position.chars, self->current_point.row, self->current_point.column); - LOG("start_token row:%lu", self->current_point.row); - LOG("start_token column:%lu", self->current_point.column); + self->token_start_position = self->current_position; self->token_start_point = self->current_point; }