Check-in a couple submitted char* string portability bug fixes: correct sizing of buffers and stop overwriting preprocessor token names with themselves.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@25402 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
51cdd90fa8
commit
6494baf371
4 changed files with 11 additions and 12 deletions
|
|
@ -381,7 +381,7 @@ protected:
|
|||
int InitScanner(TPpContext* cpp);
|
||||
int ScanFromString(char* s);
|
||||
void missingEndifCheck();
|
||||
int lFloatConst(char* str, int len, int ch, TPpToken* ppToken);
|
||||
int lFloatConst(int len, int ch, TPpToken* ppToken);
|
||||
|
||||
bool inComment;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue