]> git.tdb.fi Git - libs/gl.git/commit
Recognize the #line directive in the GLSL parser
authorMikko Rasa <tdb@tdb.fi>
Sat, 20 Feb 2021 12:59:44 +0000 (14:59 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 20 Feb 2021 16:42:40 +0000 (18:42 +0200)
commit1083ad150c902bd153f88f7fb28660b4f31cf9fe
treee308faf24abc270dd8ea68fd3ec59da87935c2ac
parent9d798ac368bfd236a7632a3a15e51bd1112ea63d
Recognize the #line directive in the GLSL parser

Also add a new pragma to specify source names.
source/glsl/parser.cpp
source/glsl/parser.h
source/glsl/preprocessor.cpp
source/glsl/preprocessor.h
source/glsl/sourcemap.cpp
source/glsl/sourcemap.h
source/glsl/tokenizer.cpp
source/glsl/tokenizer.h