Making GLSL AST nodes while preserving lineno info
Eventually we will need some way to locate an identifier's definition, so add "lineno" to each AST node. May want to change this to "position" later. The makeAstNode<T>() function takes care of automatically decorating nodes with line numbers.
Showing
- src/libs/glsl/glsl.g 49 additions, 7 deletionssrc/libs/glsl/glsl.g
- src/libs/glsl/glslast.h 3 additions, 2 deletionssrc/libs/glsl/glslast.h
- src/libs/glsl/glslparser.cpp 323 additions, 323 deletionssrc/libs/glsl/glslparser.cpp
- src/libs/glsl/glslparser.h 42 additions, 0 deletionssrc/libs/glsl/glslparser.h
Loading
Please register or sign in to comment