]> git.tdb.fi Git - libs/gl.git/commit
Follow the GLSL syntax rules more closely
authorMikko Rasa <tdb@tdb.fi>
Sun, 14 Feb 2021 17:56:15 +0000 (19:56 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 14 Feb 2021 17:56:15 +0000 (19:56 +0200)
commitc1ec86d6b9ceb6c71f787fed3b2ea6c75457a474
treeaeb8ceb3f6072f0d6a99f2702b64621e7f893947
parentd3ceb2186dc79130508093b3d0c944771a53534f
Follow the GLSL syntax rules more closely

Fix a bug which allowed preprocessor directives anywhere on a line,
reject characters which are not allowed in GLSL, and parse numeric
literals more robustly.
source/glsl/glsl_error.cpp
source/glsl/glsl_error.h
source/glsl/preprocessor.cpp
source/glsl/tokenizer.cpp