Open phr34k opened 3 months ago
This looks interesting, but it's going to take a little while for me to give this a proper review.
Sounds good, surely there are some corner cases that can have been easy to miss, but I hope it's a small step in the right direction!
Initial changes to improve error reporting in combination with preprocessor directives. The intent of this changeset is the modify glslang in a way it reports location where the statement origionally begin, so that any syntax errors can report that location primarilly and/or report the type of statement.
All unit tests passed locally
This changeset modifies the glslang in the following ways:
Example
See https://github.com/KhronosGroup/glslang/issues/3544