Skip to content

Commit 3aec1cc

Browse files
committed
Revert the change of compilationUnit
1 parent f944628 commit 3aec1cc

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

src/syntax.grammar

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,18 +1211,9 @@ fixedPtrDeclarator { identifier '=' expr }
12111211
// Compilation unit
12121212

12131213
compilationUnit {
1214-
externAliasDirective* usingDirective* /*globalAttrs?*/ memberDecl*
1214+
externAliasDirective* usingDirective* /*globalAttrs?*/ namespaceMemberDecl*
12151215
}
12161216

1217-
memberDecl
1218-
{ fieldDecl
1219-
| methodDecl
1220-
| namespaceDecl
1221-
| propertyDecl
1222-
| typeDecl
1223-
| enumMemberDecl
1224-
}
1225-
12261217

12271218
// Namespace declaration
12281219

0 commit comments

Comments
 (0)