From c984c05f2f2d6c9cee4a0eb561fd7184786c5d1d Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 25 Jan 2020 13:19:49 +0100 Subject: Minor fixes --- test-lexer.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test-lexer.cpp') diff --git a/test-lexer.cpp b/test-lexer.cpp index 4f68fc6..71f787a 100644 --- a/test-lexer.cpp +++ b/test-lexer.cpp @@ -48,8 +48,10 @@ TEST_F(Test, BNF) { std::string Top{"program"}; BNF bnf{ {"program", {{"statement-list"}}}, - {"statement-list", {{"statement-list", "statement"}, - {"statement"}, }}, + {"statement-list", { + {"statement"}, + {"statement-list", "statement"}, + }}, {"statement", {{"assignment", ";"}}}, {"assignment", {{"identifier", "=", "identifier"}, {"identifier", "=", "pp-number"}}} -- cgit v1.2.3