Commit Graph

14 Commits

Author SHA1 Message Date
Christian Clason
422cbe1d93 fix(scanner): don't use system includes 2024-06-17 10:17:55 +02:00
Christian Clason
9bb99439aa chore: regenerate with tree-sitter v0.22.6 2024-06-17 10:17:55 +02:00
Christian Clason
4d4d97dab4 fixup: terraform scanner typedef 2024-06-17 10:01:18 +02:00
Michael Hoffmann
e2d416afeb fix(scanner): serialize buffer size check
During the check that we dont overflow the serialization buffer we
erroneously checked with size(uint32_t) == 1 which could cause us to
crash with some input strings.

Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
2024-06-17 00:54:01 -04:00
Michael Hoffmann
e135399cb3 fix: github windows cl.exe action
Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
2023-11-18 13:41:00 +01:00
Michael Hoffmann
c3690b9f0c fix(scanner): fix context type
Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
2023-11-16 17:03:34 +01:00
Michael Hoffmann
fdf6463216 fix(scanner): fix segfault
Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
2023-11-13 16:18:52 +01:00
Amaan Qureshi
229d8e50ab chore: sync generation w/ upstream ts 2023-11-11 09:27:46 +01:00
Amaan Qureshi
573e5bd076 fix: don't truncate lengths 2023-11-11 09:27:46 +01:00
Amaan Qureshi
5160a52f2d feat: rewrite the scanner in C 2023-07-27 07:37:21 +02:00
Michael Hoffmann
636dbe7030 grammar: remove shim again
Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
2023-07-25 19:21:31 +02:00
Michael Hoffmann
3cf33b40d4 fix: hanging parser on trailing comment 2023-04-08 20:17:11 +02:00
Michael Hoffmann
486488948b grammar: fix structure of coments in block bodies 2023-04-08 15:36:43 +02:00
Michael Hoffmann
0ff887f2a6 wip: add dialects 2022-12-03 09:43:39 +01:00