Non-functional: Rationalizing parse helper hierarchy, step 1 (effected memory of HLSL keyword map).

This commit is contained in:
John Kessenich 2016-10-01 17:47:40 -06:00
parent a08c929d8e
commit 273060c2d3
3 changed files with 4 additions and 31 deletions

View file

@ -51,6 +51,7 @@
#include "../../hlsl/hlslParseables.h"
#include "Scan.h"
#include "ScanContext.h"
#include "../../hlsl/hlslScanContext.h"
#include "../Include/ShHandle.h"
#include "../../OGLCompilersDLL/InitializeDll.h"
@ -1049,6 +1050,7 @@ int ShInitialize()
PerProcessGPA = new TPoolAllocator();
glslang::TScanContext::fillInKeywordMap();
glslang::HlslScanContext::fillInKeywordMap();
return 1;
}
@ -1141,6 +1143,7 @@ int __fastcall ShFinalize()
}
glslang::TScanContext::deleteKeywordMap();
glslang::HlslScanContext::deleteKeywordMap();
return 1;
}