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

Supports quoted keys in properties #1

Merged
merged 1 commit into from Nov 24, 2020

Conversation

jjmontesl
Copy link
Contributor

Some properties can have spaces in their names. In this case Godot quotes them.

This is an example of such situation:

[node name="AnimationPlayer" type="AnimationPlayer" parent="Scene/TestDevel/Zone1/TestAnim"]
autoplay = "Test"
playback_process_mode = 0
anims/Test = SubResource( 66 )
"anims/Test 2" = SubResource( 67 )

This pull request modifies the parser definition to add support quoted keys.

@stevearc
Copy link
Owner

Looks good to me. Thanks for fixing this oversight!

@stevearc stevearc merged commit 3feba99 into stevearc:master Nov 24, 2020
@jjmontesl jjmontesl deleted the quotedkeys branch December 22, 2020 03:24
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.

None yet

2 participants