claytonrcarter / tree-sitter-phpdoc

PHPDoc grammar for tree-sitter
22 stars 10 forks source link

fix: remove getenv, conditionally include stdio, make package_version const #25

Closed amaanq closed 1 year ago

amaanq commented 1 year ago

Main motivation is so the wasm bindings can build without fail, getenv doesn't allow for that, and I think a check for TREE_SITTER_DEBUG shouldn't be used here but only in core

claytonrcarter commented 1 year ago

Thanks!