Max Brunsfeld
96bbceecc8
Regenerate with latest tree-sitter
8 年之前
Max Brunsfeld
e8b6879820
Use repeat in initializer lists
8 年之前
Max Brunsfeld
537c754fb4
0.5.1
8 年之前
Max Brunsfeld
0c38b9f8c9
Handle identifier starting with 'false', 'true', etc
8 年之前
Max Brunsfeld
98d47770bd
0.5.0
8 年之前
Max Brunsfeld
1e5937fc7e
Upgrade tree-sitter for new lexer API
8 年之前
Max Brunsfeld
a76daa432c
Fix parsing of char16_t, char32_t
8 年之前
Max Brunsfeld
5e968d6357
0.4.8
8 年之前
Max Brunsfeld
3a97441df7
Require a line break after an unknown preprocessor directive
8 年之前
Max Brunsfeld
e6c28cafb3
Avoid relying on old, non-standard tree-sitter regex feature
8 年之前
Max Brunsfeld
8d2d468085
0.4.7
8 年之前
Max Brunsfeld
db8d3af84f
Add #elifs inside of #ifdefs
Signed-off-by: Nathan Sobo <nathan@github.com>
8 年之前
Max Brunsfeld
1907a5eb7b
0.4.6
8 年之前
Max Brunsfeld
065bee2c23
Add preprocessor elif clauses
Signed-off-by: Nathan Sobo <nathan@github.com>
8 年之前
Max Brunsfeld
fcb4537288
Fix regex for unknown preprocessor directives
Signed-off-by: Nathan Sobo <nathan@github.com>
8 年之前
Max Brunsfeld
ab941b6ca5
0.4.5
8 年之前
Max Brunsfeld
1e1f7c9cf8
Parse typedef names as type_identifiers
8 年之前
Max Brunsfeld
6ee8bd0e6f
0.4.4
8 年之前
Max Brunsfeld
060b072223
Fix interpretation of 'unsigned' et al as standalone types
8 年之前
Max Brunsfeld
90caefcaa7
0.4.3
8 年之前
Max Brunsfeld
82b62611b6
Differentiate primitive types from other type names
8 年之前
Max Brunsfeld
d80749fc3f
Boost the dynamic precedence of parameter lists (mostly for C++)
8 年之前
Max Brunsfeld
c4ed85b79b
Call inline a storage class specifier like static
8 年之前
Max Brunsfeld
115e794968
0.4.2
8 年之前
Max Brunsfeld
31c966ece2
Handle multi-line comments with asterisks at the end
8 年之前
Max Brunsfeld
d83bc292ab
0.4.1
8 年之前
Max Brunsfeld
2db70b8a0b
Fix tree-sitter-cli version
8 年之前
Max Brunsfeld
0cc2855038
0.4.0
8 年之前
Max Brunsfeld
d805715f4f
Regenerate with latest tree-sitter
8 年之前
Max Brunsfeld
9655660732
0.3.0
9 年之前
Max Brunsfeld
1b9531bb04
Merge pull request #6 from tree-sitter/use-contextual-renames
Distinguish variables, types, fields and labels using renames
9 年之前
Max Brunsfeld
f433b2bf8a
Tweak identifier naming convention
9 年之前
Max Brunsfeld
809cd89afe
Use new alias API
9 年之前
Max Brunsfeld
6147b5ecca
Rename label_name -> label, extract rules for identifier renames
9 年之前
Max Brunsfeld
b8509fdf21
Function calls have higher precedence than unary operators
9 年之前
Max Brunsfeld
9516e76b1f
Regenerate parser
9 年之前
Max Brunsfeld
7775b575e6
Differentiate between top-level items and those that appear in statement blocks
9 年之前
Max Brunsfeld
66003e2afc
Rename type_clause -> type_descriptor and pull out the parens
9 年之前
Max Brunsfeld
9e7706d922
Distinguish variables, types, fields and labels using renames
9 年之前
Max Brunsfeld
debe919f84
Allow whitespace after the # in preprocessor directives
9 年之前
Max Brunsfeld
d9c324ffce
Don't try to parse #if conditions as C expressions
Doing this required treating the newline that follows these conditions as significant
in order to avoid conflicts, but this caused problems for error recovery.
9 年之前
Max Brunsfeld
70a4367af8
0.2.4
9 年之前
Max Brunsfeld
eb82660b87
Generalize the ordering of type and declaration specifiers
9 年之前
Max Brunsfeld
3f65e85781
Reuse declaration_specifiers rule in more places
9 年之前
Max Brunsfeld
ab0162ce37
Make member_declaration_list its own rule
9 年之前
Max Brunsfeld
42436c29ae
Allow simple abstract function declarators as in `sizeof(void * ())`
9 年之前
Max Brunsfeld
b895c3f778
0.2.3
9 年之前
Max Brunsfeld
34245e5ba8
Export precedences (so C++ grammar can use them)
9 年之前
Max Brunsfeld
997aee5bdf
0.2.2
9 年之前
Max Brunsfeld
39a662907b
Make a named node for argument lists in call expressions
9 年之前