tree-sitter-zsh 0.37.0 → 0.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # tree-sitter-zsh
2
2
 
3
- [![CI][ci]](https://github.com/tree-sitter/tree-sitter-zsh/actions/workflows/ci.yml)
3
+ [![CI](https://github.com/georgeharker/tree-sitter-zsh/actions/workflows/ci.yml/badge.svg)](https://github.com/georgeharker/tree-sitter-zsh/actions/workflows/ci.yml)
4
4
  [![discord][discord]](https://discord.gg/w7nTvsVJhm)
5
5
  [![matrix][matrix]](https://matrix.to/#/#tree-sitter-chat:matrix.org)
6
6
  [![crates][crates]](https://crates.io/crates/tree-sitter-zsh)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tree-sitter-zsh",
3
- "version": "0.37.0",
3
+ "version": "0.38.0",
4
4
  "description": "Zsh grammar for tree-sitter",
5
5
  "repository": "https://github.com/geohar/tree-sitter-zsh",
6
6
  "license": "MIT",
package/src/scanner.c CHANGED
@@ -1776,7 +1776,6 @@ regex:
1776
1776
  if ((valid_symbols[REGEX] || valid_symbols[REGEX_NO_SLASH] ||
1777
1777
  valid_symbols[REGEX_NO_SPACE]) &&
1778
1778
  !in_error_recovery(valid_symbols)) {
1779
- fprintf(stderr, "REGEX scan\n");
1780
1779
  if (valid_symbols[REGEX] || valid_symbols[REGEX_NO_SPACE]) {
1781
1780
  while (iswspace(lexer->lookahead)) {
1782
1781
  skip(lexer);
@@ -1966,7 +1965,6 @@ regex:
1966
1965
  return false;
1967
1966
  }
1968
1967
 
1969
- fprintf(stderr, "GOT REGEX %d\n", state.advanced_once);
1970
1968
  return true;
1971
1969
  }
1972
1970
  }
Binary file