Pre Merge pull request !1 from Alex家的兔子/lyh_dev

This commit is contained in:
Alex家的兔子 2023-01-25 13:12:01 +00:00 committed by Gitee
commit 8444b2a764
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 2 additions and 1 deletions

View File

@ -168,6 +168,7 @@ Import: 'import';
Contract: 'contract';
Module: 'module';
Oracle: 'oracle';
DoipModule: 'doipmodule';
/// The following tokens are also considered to be FutureReservedWords
/// when parsing strict mode

View File

@ -38,7 +38,7 @@ program
;
contractDeclar
: annotations? (Contract|Module|Oracle) Identifier '{' clzOrFunctionDeclaration+ '}'
: annotations? (Contract|Module|Oracle|DoipModule) Identifier '{' clzOrFunctionDeclaration+ '}'
;
annotations