Skip to content

Conversation

happy-monk
Copy link
Contributor

@happy-monk happy-monk commented Nov 5, 2019

Keeping on working for #552

In this changeset I've implemented stack for flags set and reset by pragmas. This allows us to solve with __pragma__ nesting problem.

There is also __pragma__('push') and __pragma__('pop') for saving and restoring flag state from stack. I plan to use those to fix the same nesting problem for single-line activated pragmas.

Aliases cannot be nested yet.

The tests is a bit lacking. I think, snapshot testing could be better soultion for testing pragmas.

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