From b2af550b08d6098b72b638908c4552dbe7cfa7a3 Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Thu, 13 Jan 2022 15:23:18 -0800 Subject: [PATCH] Update grammar.md Add forgotten quotes around 'type'; reported by @Dionysusnu --- docs/_pages/grammar.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_pages/grammar.md b/docs/_pages/grammar.md index d17679340..22b078a11 100644 --- a/docs/_pages/grammar.md +++ b/docs/_pages/grammar.md @@ -24,7 +24,7 @@ stat = varlist '=' explist | 'function' funcname funcbody | 'local' 'function' NAME funcbody | 'local' bindinglist ['=' explist] | - ['export'] type NAME ['<' GenericTypeList '>'] '=' Type + ['export'] 'type' NAME ['<' GenericTypeList '>'] '=' Type laststat = 'return' [explist] | 'break' | 'continue'