1
0
Fork 0
mirror of https://github.com/pnx/tree-sitter-dotenv synced 2026-06-16 01:54:56 +02:00
Commit graph

8 commits

Author SHA1 Message Date
8c66bd3605 make string_content optional instead of matching empty values. 2024-12-12 17:23:37 +01:00
4d71a8548b make no distinction between single quoted and double quoted string tokens. 2024-12-12 17:05:31 +01:00
dabedec847 adding hexadecimal and decimal as a subtoken for integer 2024-12-12 16:55:10 +01:00
d0b54d61aa Update grammar to correctly produce value token
Problem was before that for example the input [0x000KKK] would produce a
hexadecimal and a value token (for the respective parts)

However, the more correct way is to have the whole input identified as a
value token. basicly if the whole input between "=" and a special
"end-of-assignment" token can't be identified as a string,bool,integer
whatever. it should be identified as a value token.
2024-12-12 10:55:11 +01:00
0512ebe640 test/corpus/values.txt: split tests 2024-12-11 12:01:38 +01:00
527ac2368f adding more number types 2024-12-11 00:43:34 +01:00
adc9052da5 add integer and boolean values 2024-12-10 22:24:26 +01:00
948e93ffac Initial Commit 2024-12-10 19:51:21 +01:00