From 08e860a8a355ac8ec8ae50dea8b36cc8e2158233 Mon Sep 17 00:00:00 2001 From: Jonathan Chan Kwan Yin Date: Sun, 16 May 2021 00:48:37 +0800 Subject: [PATCH] 'else' is a keyword It seems that `else` was incorrect typed as a rule instead of a keyword here. --- GRAMMAR.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GRAMMAR.md b/GRAMMAR.md index cf907df18d..81ee63016d 100644 --- a/GRAMMAR.md +++ b/GRAMMAR.md @@ -65,7 +65,7 @@ setting : 'set' 'dotenv-load' boolean? boolean : ':=' ('true' | 'false') -expression : 'if' condition '{' expression '}' else '{' expression '}' +expression : 'if' condition '{' expression '}' 'else' '{' expression '}' | value '+' expression | value