migueldeicaza / SwiftGodot

New Godot bindings for Swift
https://migueldeicaza.github.io/SwiftGodotDocs/tutorials/swiftgodot-tutorials/
MIT License
1.19k stars 77 forks source link

Add additional reserved words to generator #536

Closed jakobwinkler closed 2 months ago

jakobwinkler commented 2 months ago

While experimenting with customized extension APIs, I came across these identifiers that were not escaped previously.

Specifically, these 4 (switch, public, private, for) are used in https://github.com/GodotSteam/GodotSteam.

migueldeicaza commented 2 months ago

Thanks for your contribution!