Luni-4
fa408bc9e7
Add Rust package ( #58 )
преди 5 години
Max Brunsfeld
8d4631b673
⬆️ tree-sitter-cli to 0.18
преди 5 години
Jen-Chieh Shen
80b6b748e6
Add #elif macro highlighting ( #56 )
преди 5 години
Max Brunsfeld
99151b1e92
⬆️ tree-sitter-cli
преди 6 години
Mathieu Nayrolles
88592f162e
Add support for Microsoft-specific modifiers ( #40 )
* Add support for Microsoft-specific modifiers
Microsoft-specific modifiers are keywords can be used to modify declarators to form derived types.
The specification for the modifiers themselves is here:
https://docs.microsoft.com/en-us/cpp/cpp/microsoft-specific-modifiers?view=vs-2019
* 0.16.1
преди 6 години
Max Brunsfeld
b4497e0bba
⬆️ tree-sitter-cli
преди 6 години
calixteman
6002fcd5e8
Add a rule for left part of assignment: it'll be helpful to add scope… ( #37 )
* Add a rule for left part of assignment: it'll be helpful to add scoped_name_identifier (c++)
* Inline the assignment_left_expression rule
преди 6 години
calixteman
c455818961
#include can be followed by a macro name or a macro call ( #38 )
* #include can be followed by a macro name or a macro call
* In preproc_include, use preproc_call_expression
преди 6 години
Max Brunsfeld
b6ff8fbdaf
Handle line continuations with CRLF endings
преди 6 години
calixteman
d2ebd7f6c0
Macro definition can contain continuation line in the argument list ( #28 )
* Macro definition can contain continuation line in the argument list
* Reset grammar since line continuations are handled globally
Preserve the test.
преди 6 години
calixteman
362c031880
Parse expressions in preprocessor #if statement ( #29 )
* Parse expressions in preprocessor #if statement
* Make preproc_expression look like a normal expression
* Hide the wrapper rules
* Alias the rulres to match their corresponding expression rule
* Handle line continuations as extra tokens
преди 6 години
calixteman
2ed529f075
Add u|U|u8 string|char support ( #36 )
преди 6 години
Max Brunsfeld
2104daa5ab
⬆️ tree-sitter-cli
преди 6 години
Max Brunsfeld
d101ad1c83
Improve highlighting query
преди 6 години
Max Brunsfeld
e42a259567
0.16.0
преди 6 години
Max Brunsfeld
457a7917a1
Use new test structure, add syntax highlighting tests
преди 6 години
Max Brunsfeld
91ac28fa5e
0.15.3
преди 6 години
Max Brunsfeld
3458bfc9a5
⬆️ tree-sitter
преди 6 години
Max Brunsfeld
627806ec6a
Allow case statements separate from switch statements
Fixes #32
преди 6 години
Max Brunsfeld
916be99704
Allow comma operator in return statement
Fixes #31
преди 6 години
Max Brunsfeld
22decdc361
0.15.2
преди 7 години
calixteman
c578638af2
Fix multi-statements in for initializer and update parts ( #27 )
* Fix multi-statements in for initializer and update parts
* Finally the bug was only in the initializer part
преди 7 години
calixteman
c8061429cc
Fix error with ++L (consequence of support for L strings) ( #26 )
* Fix error with ++L (consequence of support for L strings)
* Update to tree-sitter 0.15.5
преди 7 години
Max Brunsfeld
b44a2e10c5
0.15.1
преди 7 години
Max Brunsfeld
e0512072cc
Handle comments with escaped CRLF line endings
Fixes #24
преди 7 години
Max Brunsfeld
0bc1adf0c2
Tweak fields
преди 7 години
Max Brunsfeld
c3965938cc
Add node fields, update tree-sitter-cli
преди 7 години
calixteman
ff4fc1c785
Handle L-strings and L-chars ( #25 )
преди 7 години
Max Brunsfeld
59bba708e7
0.15.0
преди 7 години
Max Brunsfeld
4c8cc481d9
Update tree-sitter-cli to 0.15.3
преди 7 години
calixteman
2945de0173
Fix precedences of * (deref) and & (address-of) ( #21 )
преди 7 години
calixteman
adf868ce9a
Fix parenthesized expression on left side of assignment ( #22 )
преди 7 години
calixteman
fb9fbd83f0
Handle __attribute__ in function declaration ( #19 )
* Handle __attribute__ in function declaration
* Fix tests in examples/
* Remove useless optional
преди 7 години
Max Brunsfeld
7fa07a7b09
Merge pull request #17 from calixteman/fix_comment
Fix comment containing backslash
преди 7 години
Calixte Denizet
338f99e8a0
Fix comment containing backslash
преди 7 години
Max Brunsfeld
916b606f99
0.13.13
преди 7 години
Max Brunsfeld
d558c85604
Use node 10 on travis
преди 7 години
Max Brunsfeld
42382f29bf
Restrict expressions that can appear as lhs in assignment
преди 7 години
Max Brunsfeld
f2817eaf39
0.13.12
преди 7 години
Max Brunsfeld
fd42e75886
Flesh out number literal parsing
Fixes atom/language-c#323
преди 7 години
Max Brunsfeld
175d93b439
Handle postfix type qualifiers in compound literals
Fixes atom/language-c#312
преди 7 години
Max Brunsfeld
79930c48fd
0.13.11
преди 7 години
Max Brunsfeld
95b5710ff9
Allow number literals with 'f' suffix and digit separators
Fixes tree-sitter/tree-sitter-cpp#24
Fixes tree-sitter/tree-sitter-cpp#34
преди 7 години
Max Brunsfeld
42ac3ed413
Add appveyor badge to README
преди 7 години
Max Brunsfeld
bd093a130f
Add appveyor config
преди 7 години
Max Brunsfeld
5a25ac2983
Allow multiple names to be defined in a typedef statement
Fixes tree-sitter/tree-sitter-cpp#30
преди 7 години
Max Brunsfeld
50c3a02bc7
Allow preprocessor directives in field decl lists
Fixes tree-sitter/tree-sitter-cpp#29
преди 7 години
Max Brunsfeld
1358e07759
Allow escaped newlines in single-line comments
Fixes tree-sitter/tree-sitter-cpp#26
преди 7 години
Max Brunsfeld
5b250e138a
Remove distinction between top-level and statement block items
преди 7 години
Max Brunsfeld
a71bef804d
Fix inefficient string tokenization
преди 7 години