X-Git-Url: https://ecere.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=compiler%2Flibec%2Fsrc%2Fast.ec;h=9b56913e3ac84f5d2708cbcd35183a941a556e16;hb=46bb5e624d8df35c076f93d6f14ddc98191406b2;hp=6b696f841154da49943a851280a760c5e5511e93;hpb=3516970ab392efe4b89854a0f475dc3e8775ab61;p=sdk diff --git a/compiler/libec/src/ast.ec b/compiler/libec/src/ast.ec index 6b696f8..9b56913 100644 --- a/compiler/libec/src/ast.ec +++ b/compiler/libec/src/ast.ec @@ -1985,6 +1985,16 @@ int CheckType(const char * text) #ifdef _TIMINGS Time startTime = GetTime(); #endif + + if(inIDE) + { + // Help out the Debugger with Windows files until we improve the parser + if(!strcmp(text, "WINAPI")) + return EXT_DECL; + else if(!strcmp(text, "BOOL") || !strcmp(text, "WINUSERAPI")) + return TYPE_NAME; + } + if(FindTemplateTypeParameter(curContext, text)) { #ifdef _TIMINGS