You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constglsl=require('glsl-man');constsrc=`void main() { int a = 1; int b = 2; int c = 0; if (a < b) c = a; else c = b;}`;constast=glsl.parse(src);console.log(glsl.string(ast,{tab:'',space:'',newline:''}));
If you run this example:
You will get this:
Note that
elsec=b
is not valid.The text was updated successfully, but these errors were encountered: