console.log(parse( tokenize(` void main() { }//hi float f = 1.0; `) ) );
unexpected EOF at line 4
26 |
27 | console.log(
> 28 | parse(
| ^
29 | tokenize(`
30 | void main() {
31 | }//hi
at unexpected (node_modules/glsl-parser/lib/index.js:737:11)
at end (node_modules/glsl-parser/lib/index.js:270:7)
at reader (node_modules/glsl-parser/lib/index.js:177:14)
at parseArray (node_modules/glsl-parser/direct.js:12:10)
Does not happen if there's a space between the closing } and the comment