tree-sitter-go
Advanced tools
Comparing version 0.13.0 to 0.13.1
@@ -65,3 +65,3 @@ const | ||
], | ||
word: $ => $.identifier, | ||
@@ -757,9 +757,20 @@ | ||
interpreted_string_literal: $ => token(seq( | ||
interpreted_string_literal: $ => seq( | ||
'"', | ||
repeat(choice( | ||
/[^"\n\\]/, | ||
seq('\\', /./) | ||
token.immediate(prec(1, /[^"\n\\]/)), | ||
$.escape_sequence | ||
)), | ||
'"' | ||
), | ||
escape_sequence: $ => token.immediate(seq( | ||
'\\', | ||
choice( | ||
/[^xuU]/, | ||
/\d{2,3}/, | ||
/x[0-9a-fA-F]{2,}/, | ||
/u[0-9a-fA-F]{4}/, | ||
/U[0-9a-fA-F]{8}/ | ||
) | ||
)), | ||
@@ -766,0 +777,0 @@ |
{ | ||
"name": "tree-sitter-go", | ||
"version": "0.13.0", | ||
"version": "0.13.1", | ||
"description": "Go grammar for tree-sitter", | ||
@@ -16,8 +16,8 @@ "main": "index.js", | ||
"devDependencies": { | ||
"tree-sitter-cli": "^0.13.1" | ||
"tree-sitter-cli": "^0.13.6" | ||
}, | ||
"scripts": { | ||
"build": "tree-sitter generate && node-gyp build", | ||
"test": "tree-sitter test && tree-sitter parse examples/* --quiet --time" | ||
"test": "tree-sitter test && script/parse-examples" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2117301
11
5246