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

Add $IGNORE_INLINE_COMPILER_SETTINGS compiler setting #275

Closed
heasm66 opened this issue Mar 13, 2024 · 2 comments
Closed

Add $IGNORE_INLINE_COMPILER_SETTINGS compiler setting #275

heasm66 opened this issue Mar 13, 2024 · 2 comments

Comments

@heasm66
Copy link
Contributor

heasm66 commented Mar 13, 2024

only use options specified at command line, ignore definitions (inside story-file) of DEBUG, Grammar__Version, all !% definitions, and maybe a few more. As of now I think last defined gets precendence, but in my mind at least it is a bit unclear what will happen when there’s a conflict.

-i doesn't do this, does it? Could be an option otherwise.

@erkyrath
Copy link
Contributor

This option seems like it would only add to the confusion.

The precedence is currently:

  • inside-story-file declarations (highest)
  • !% lines
  • command-line options and ICL files, in order as they're parsed on the command line.

It would be more intuitive if command-line options took precedence over !% lines and everything else. However, the way Inform parsing is set up, this would be ugly to implement.

@DavidKinder
Copy link
Owner

Closing this as if we do something here, it probably will be #279.

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

No branches or pull requests

3 participants