From e4a5958fc8d9e131ab083215a51a1b60acf91410 Mon Sep 17 00:00:00 2001 From: Ryo Nihei Date: Sun, 18 Jul 2021 22:15:35 +0900 Subject: Detect multiple semantic errors in a single parse --- spec/lexer.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/lexer.go') diff --git a/spec/lexer.go b/spec/lexer.go index 83b1a93..1f8805a 100644 --- a/spec/lexer.go +++ b/spec/lexer.go @@ -35,12 +35,12 @@ const ( ) type Position struct { - row int + Row int } func newPosition(row int) Position { return Position{ - row: row, + Row: row, } } -- cgit v1.2.3