We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f12f905 commit 701ddc2Copy full SHA for 701ddc2
tree-sitter-quickbms/grammar.js
@@ -250,6 +250,7 @@ module.exports = grammar({
250
comtype_statement: $ => seq(
251
$.comtype,
252
field("algorithm", $._expression),
253
+ field("dictionary", optional($._expression)),
254
),
255
clog_statement: $ => seq(
256
$.clog,
tree-sitter-quickbms/test/corpus/comtype.bms
@@ -3,10 +3,15 @@ ComType statements
3
================================================================================
4
5
comtype COMP_UNZIP_DYNAMIC
6
+comtype lzss "12 4 2 2 0"
7
8
--------------------------------------------------------------------------------
9
10
(source_file
11
(comtype_statement
12
(comtype)
- (identifier)))
13
+ (identifier))
14
+ (comtype_statement
15
+ (comtype)
16
+ (identifier)
17
+ (string_literal)))
0 commit comments