aconstlink / natus

[Discontinued] Software Framework for Audio/Visual/Interactive Real-Time Applications
https://aconstlink.de
MIT License
0 stars 0 forks source link

nsl operator chaining bug #210

Closed aconstlink closed 2 years ago

aconstlink commented 3 years ago

If operators like +=, *= are used in nsl within a shader block, a whitespace is inserted in between by the parser stage so the code looks like + =, * =.

The whitespace should be removed.

This is only really the case as long as there are no pure nsl functions without the api blocks. Api blocks are not further processed but are split by the parser regardless.

The fix should be easy. But going straight to nsl functions would be more proficient.