Skip to content

Custom data types #594

Answered by nene
roreshko asked this question in Q&A
Apr 25, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hmm... yeah, it happens that the tokenizer tries to match NUMBER token before STRING, so it ends up matching 4.36 as a NUMBER.

But I think you can instead use identTypes (to treat it as an identifier), which gets matched before number.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@roreshko
Comment options

@nene
Comment options

Answer selected by roreshko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants