bin/pegjs: Output just the parser source if --export-var is empty
This will make embedding generated parsers into other files easier. Based on a patch by Glen Huang: https://github.com/dmajda/pegjs/pull/143redux
parent
e1af175af8
commit
2dc39bb779
Loading…
Reference in New Issue