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:
John Kessenich 2014-02-19 00:08:59 +00:00
parent 51cdd90fa8
commit 6494baf371
4 changed files with 11 additions and 12 deletions

View file

@ -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;