Skip to content

Exclude integer and class from generated files - #180

Draft
tapple wants to merge 16 commits into
secondlife:mainfrom
tapple:fflag-disabled
Draft

Exclude integer and class from generated files#180
tapple wants to merge 16 commits into
secondlife:mainfrom
tapple:fflag-disabled

Conversation

@tapple

@tapple tapple commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

integer and class are part of luau, but, for the moment, they are disabled in slua by fflags. Mark them as such and exclude them from all generated files except EmbeddedBuiltinDefinitions.cpp. This also makes the generated files backwards-compatable with Luau 0.710

<string>constant.numeric.hex.luau</string>
<key>match</key>
<string>\b0_*[xX]_*[\da-fA-F_]*(?:[eE][\+\-]?_*\d[\d_]*(?:\.[\d_]*)?)?</string>
<string>\b0_*[xX]_*[\da-fA-F_]*(?:i|[eE][\+\-]?_*\d[\d_]*(?:\.[\d_]*)?)?</string>

@tapple tapple Jul 11, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only integer/class change this doesn't exclude is the 4i syntax in the markdown file, as it was added in the template and not in the generator. But, I think that's the most harmless part of the change

@tapple
tapple marked this pull request as ready for review July 13, 2026 21:18
@tapple
tapple marked this pull request as draft July 13, 2026 21:25
@tapple
tapple marked this pull request as ready for review July 13, 2026 21:33
@tapple
tapple marked this pull request as draft July 14, 2026 14:33
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