Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generating dependent grammars doesn't name the dependency #2

Closed
steve-hickman-epistimis opened this issue Jan 24, 2023 · 2 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@steve-hickman-epistimis

I have several XText grammars with dependencies as follows:

grammar com.epistimis.privacy.Privacy with com.epistimis.face.Face
grammar com.epistimis.face.Face with com.epistimis.uddl.Uddl
grammar com.epistimis.uddl.Uddl with org.eclipse.xtext.common.Terminals

When I generate from the Privacy grammar, I get the following files:

Privacy.langium
Face.langium
Face-types.langium
Uddl.langium
Uddl-types.langium
Terminals.langium

Uddl.langium is generated without the following:

grammar Uddl

Similarly, Face.langium is generated without

grammar Face

These generated grammars should be named because it is possible that some users will edit just Uddl files or just Face files.

@dhuebner
Copy link
Member

dhuebner commented Feb 2, 2023

@steve-hickman-epistimis
Thanks for reporting. I will look into it

@dhuebner dhuebner self-assigned this Feb 2, 2023
@dhuebner dhuebner added the bug Something isn't working label Feb 3, 2023
@dhuebner
Copy link
Member

dhuebner commented Feb 3, 2023

Resolved in master

@dhuebner dhuebner closed this as completed Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants