Skip to content

Possible grammar fix for imports.sysml#147

Open
Deni1593 wants to merge 1 commit into
masterfrom
fixing-grammars-issue-119
Open

Possible grammar fix for imports.sysml#147
Deni1593 wants to merge 1 commit into
masterfrom
fixing-grammars-issue-119

Conversation

@Deni1593

@Deni1593 Deni1593 commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

with this change in grammar imports.sysml parses both with MontiCore and OMG parser.

NOTE: this change only makes sense if no keywords, other than private, protected or public are expected before an import statement. If other modifiers should be accepted as well, then the grammar must be tweaked. I looked over the whole SysMLv2 spec and no other keywords were used before an import statement, so I guess it should be okay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant