tree-sitter-html/src
Phil Turnbull e541c9b64b
Avoid integer cast issues when deserializing tags
`buffer` contains signed chars, so if a tag length is greater than 128 then it
is treated as a negative value when deserializing. The negative signed char is
then implicitly cast to a large unsigned integer. Explicitly cast the values to
signed chars

Co-authored-by: Rahul Zhade <zhade3@github.com>
2018-08-07 14:18:24 -04:00
..
tree_sitter ⬆️ tree-sitter-cli (new ABI version) 2018-07-18 11:24:49 -07:00
binding.cc Initial commit 2018-06-11 16:59:22 -07:00
grammar.json Parse tag names as separate tokens 2018-06-12 12:20:13 -07:00
parser.c ⬆️ tree-sitter-cli (new ABI version) 2018-07-18 11:24:49 -07:00
scanner.cc Avoid integer cast issues when deserializing tags 2018-08-07 14:18:24 -04:00
tag.h Represent tag name map as a std::map 2018-06-18 10:05:44 -07:00