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'