-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
$.Implementation: always generate env spec helpers
Put the declaration of these helper subprograms in $.Implementation's spec so that we never get a warning about them being unused. This is now the most common way to handle templating: first it removes the need to do complex conditional code emission, simplifying templates, and second, in the future, these helpers will belong to Langkit_Support: avoiding to generate them when they are not needed (i.e. only for toy language specs) is pointless. TN: T320-010
- Loading branch information
Showing
3 changed files
with
136 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters