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

GDScript: Add void datatype #1948

merged 2 commits into from Nov 21, 2021

GDScript: Add void datatype #1948

merged 2 commits into from Nov 21, 2021


Copy link

@Morphclue Morphclue commented Nov 8, 2021


The Lexer is missing the void-type. This type isn't listed in the Grammar Docs. The reason for that could be that the grammar is incosistent with GDScript (see note in Grammar Docs).

The type void should be added, because you can specify it as a return type in GDScript.
Example from the GDScript Basics:

func void_function() -> void:
    return # Can't return a value


@Morphclue Morphclue changed the title GDScript: Add void keyword GDScript: Add void datatype Nov 8, 2021
@Anteru Anteru merged commit 98f8740 into pygments:master Nov 21, 2021
Copy link

Anteru commented Nov 21, 2021

Merged, I'll update the tests manually.

@Anteru Anteru added this to the 2.11.0 milestone Nov 21, 2021
@Morphclue Morphclue deleted the patch-1 branch November 21, 2021 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants