From fd4962dec6f4f5ed31b261ab05b6ed033cfa3336 Mon Sep 17 00:00:00 2001 From: Lumi Pakkanen Date: Mon, 13 May 2024 17:10:53 +0300 Subject: [PATCH] Reserve potential keywords for the future ref #319 --- src/grammars/sonic-weave.pegjs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/grammars/sonic-weave.pegjs b/src/grammars/sonic-weave.pegjs index aabc0192..7381bc55 100644 --- a/src/grammars/sonic-weave.pegjs +++ b/src/grammars/sonic-weave.pegjs @@ -65,6 +65,13 @@ 'vor', 'where', 'while', + // Future reserved words + 'case', + 'debugger', + 'default', + 'delete', + 'match', + 'yield', ]); const PERFECT_DEGREES = new Set([1, 4, 5, 1.5, 4.5, 7.5]);