Releases: lammas/glsl-man
Releases · lammas/glsl-man
v1.1.10
Many thanks to @DiThi and @mikecao for finding these problems.
- Fix: glsl.string() - handling parentheses for ternary operators
- Fix: glsl.string() - array size in function parameters
- Fix: glsl.string() - handling of statement bodies with no statements
- Fix: glsl.string() - parentheses with a postfix mishandled in deparsing
- Fix: glsl.parse() - parsing unary operator after return
- Fix: glsl.string() - missing newline before preprocessor directives in minified output
v1.1.6
- @ChiChou added a missing sequence expression and provided a ton of other test cases. Many thanks! :)
Other fixes since the last release:
- Add: AST to string generator for structs
- Fix: Incomplete negative float constant handling
v1.1.2
- Add: AST modification functions by @yofreke
- Fix: array size declarator was ignored (#4)
- Fix: deparser did not force newlines on preprocessor directives (#5)
- Fix: if-else statements without braces not minified correctly (#7)
- Fix: tape package should only be in devDependencies
v1.0.7
- Fix: Implied scope for if/for/while statements generated incorrectly
- Fix: elseif -> else if
v1.0.6
- Fixes negative int constant parsing as well
v1.0.5
- Fixes a bug parsing negaive float constants