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

Changing the start symbol causes an error in the Statix pre-analyze strategy #49

Open
Gohla opened this issue Sep 14, 2021 · 1 comment
Labels
C-Bug Category: bug. Not working as expected

Comments

@Gohla
Copy link
Member

Gohla commented Sep 14, 2021

Summary

Changing the start symbol causes an error in the Statix pre/post-analyze strategy, because it refers to the start symbol.

What you did

Change the start symbol.

What you expected to happen

Things to work.

What actually happened

An error occurs due to the pre/post-analyze strategy depending on the start symbol name.

Context

  • Spoofax version: 0.11.9
  • Operating system & version: Any

Additional information

This was reported from the lab, but it should be reproduced more thoroughly.

@Gohla Gohla added the C-Bug Category: bug. Not working as expected label Sep 14, 2021
@Gohla
Copy link
Member Author

Gohla commented Sep 15, 2021

Possible fix:

  • Specify the pre-analyze and post-analyze strategy in spoofaxc.cfg
  • Specify the project and file constraint identifiers in spoofaxc.cfg
  • Generate the whole Stratego analysis interface automatically in the compiler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Bug Category: bug. Not working as expected
Projects
None yet
Development

No branches or pull requests

1 participant