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

Failure to format with comment at end of file #237

Closed
wilfredjonathanjames opened this issue Oct 19, 2023 · 0 comments
Closed

Failure to format with comment at end of file #237

wilfredjonathanjames opened this issue Oct 19, 2023 · 0 comments
Labels
bug Something isn't working parser

Comments

@wilfredjonathanjames
Copy link

Adding the line

#	# var i = 2

To the end of any .gd file will trigger the following error:

Unexpected token Token('_INDENT', '#\t# var i = 2') at line 43, column 4
5.
Expected one of:
    * REGULAR_STRING
    * VAR
    * FUNC
    * NOT
    * BREAK
    * RETURN
    * CONTINUE
    * LPAR
    * FOR
    * DOLLAR
    * BIN
    * AMPERSAND
    * TILDE
    * LBRACE
    * PERCENT
    * MINUS
    * LONG_STRING
    * MATCH
    * CONST
    * IF
    * PLUS
    * PASS
    * LSQB
    * HEX
    * BANG
    * AWAIT
    * CIRCUMFLEX
    * WHILE
    * _DEDENT
    * NAME
    * NUMBER
@Scony Scony added bug Something isn't working parser labels Oct 22, 2023
@Scony Scony closed this as completed in 4c382db Oct 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working parser
Projects
None yet
Development

No branches or pull requests

2 participants