cimaron/glsl2js — pull request #29 by DelvarWorld (2014-11-19 08:23:06+00:00)
Title: Adding truthy check for variable that errors when parsing max()

I'm not sure what the case is behind this, but I'm seeing the parser
error because it's trying to call def.join() when def is undefined. When
inspecting what state the parser is in during this error, it appears to
be trying to inspect a function call in the glsl source "max" as in
"max( 1.0, 2.0 )"