Go to file
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
corpus Handle void tags at EOF 2018-06-12 14:06:16 -07:00
examples Fix memory errors for deeply-nested HTML 2018-07-18 11:24:15 -07:00
src Avoid integer cast issues when deserializing tags 2018-08-07 14:18:24 -04:00
.gitattributes Count scanner but not parser in GH language stats 2018-06-13 09:34:38 -07:00
.gitignore Ignore package-lock.json 2018-06-12 10:52:43 -07:00
.npmignore Fix memory errors for deeply-nested HTML 2018-07-18 11:24:15 -07:00
.travis.yml Add README, CI config files 2018-06-11 17:22:50 -07:00
LICENSE Initial commit 2018-06-11 16:59:22 -07:00
README.md Add README, CI config files 2018-06-11 17:22:50 -07:00
appveyor.yml Add README, CI config files 2018-06-11 17:22:50 -07:00
binding.gyp Start tracking element nesting in external scanner 2018-06-11 16:59:44 -07:00
grammar.js Parse tag names as separate tokens 2018-06-12 12:20:13 -07:00
index.js Initial commit 2018-06-11 16:59:22 -07:00
package.json 0.13.1 2018-07-18 13:19:13 -07:00

README.md

tree-sitter-html

Build Status Build status

HTML grammar for tree-sitter.

References