graphitemaster / glsl-parser

A GLSL parser
MIT License
260 stars 30 forks source link

Fixed infinite loop when invalid character encountered during parsing. #6

Closed bkaradzic closed 8 years ago

bkaradzic commented 8 years ago

I found this bug while testing my file with '#' preprocessor symbols in it.

graphitemaster commented 8 years ago

Going to do this myself, not a fan of the use of NULL simply because 0 is used in place everywhere else in the source tree or the comparison against NULL instead of just !m_error

graphitemaster commented 8 years ago

Fixed in dbb0025