stackgl / glsl-parser

transform streamed glsl tokens into an ast
MIT License
98 stars 15 forks source link

add error handling in stream.js #28

Open fuzhenn opened 4 years ago

fuzhenn commented 4 years ago

Now we can catch steam's error:

.pipe(glslParser())
.on('error', () => { })