HLSL: Non-functional: the symbol field of a token was in practice unused; remove it.
Another precurser to getting member non-static functions working.
This commit is contained in:
parent
5a8390696d
commit
f4ba25e009
5 changed files with 8 additions and 12 deletions
|
|
@ -54,7 +54,7 @@ class TPpToken;
|
|||
// Everything needed to fully describe a token.
|
||||
//
|
||||
struct HlslToken {
|
||||
HlslToken() : string(nullptr), symbol(nullptr) { loc.init(); }
|
||||
HlslToken() : string(nullptr) { loc.init(); }
|
||||
TSourceLoc loc; // location of token in the source
|
||||
EHlslTokenClass tokenClass; // what kind of token it is
|
||||
union { // what data the token holds
|
||||
|
|
@ -64,7 +64,6 @@ struct HlslToken {
|
|||
bool b;
|
||||
double d;
|
||||
};
|
||||
glslang::TSymbol* symbol; // if a symbol-table lookup was done already, this is the result
|
||||
};
|
||||
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue