From dd331f007cb9c9968605f8d3eaef8fb498c21322 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Fri, 20 Jan 2023 14:05:17 +0100 Subject: Rewrite parser --- tests/typ/compiler/array.typ | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tests/typ/compiler/array.typ') diff --git a/tests/typ/compiler/array.typ b/tests/typ/compiler/array.typ index ccde8598..e01f8896 100644 --- a/tests/typ/compiler/array.typ +++ b/tests/typ/compiler/array.typ @@ -208,17 +208,16 @@ // Error: 3 expected closing paren {(} -// Error: 2-3 expected expression, found closing paren +// Error: 2-3 unexpected closing paren {)} -// Error: 4 expected comma // Error: 4-6 unexpected end of block comment {(1*/2)} // Error: 6-8 invalid number suffix {(1, 1u 2)} -// Error: 3-4 expected expression, found comma +// Error: 3-4 unexpected comma {(,1)} // Missing expression makes named pair incomplete, making this an empty array. -- cgit v1.2.3