mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
tokenizer: Remove redundant token types
This commit is contained in:
parent
bac008296a
commit
3bdcc83c4e
4 changed files with 17 additions and 38 deletions
|
@ -25,9 +25,9 @@ from .lsp_utils import Completion
|
|||
|
||||
|
||||
new_statement_patterns = [
|
||||
[(TokenType.OPEN_BLOCK, None)],
|
||||
[(TokenType.CLOSE_BLOCK, None)],
|
||||
[(TokenType.STMT_END, None)],
|
||||
[(TokenType.PUNCTUATION, "{")],
|
||||
[(TokenType.PUNCTUATION, "}")],
|
||||
[(TokenType.PUNCTUATION, ";")],
|
||||
]
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue