glslify / glsl-tokenizer

r/w stream of glsl tokens
MIT License
51 stars 6 forks source link

Incorrectly parsing a } followed by a block comment. #13

Open DiThi opened 7 years ago

DiThi commented 7 years ago

Example:

console.log(tokenizer("}/* foo */"))

Returns: A block-comment including the } and then an element of type undefined with the same data