mirror of
https://github.com/reactos/reactos.git
synced 2024-08-30 07:08:19 +00:00
more bug fixin'
svn path=/trunk/; revision=6569
This commit is contained in:
parent
14c5b2ca76
commit
39389a4414
|
@ -373,8 +373,8 @@ char* skipsemi ( char* p )
|
||||||
|
|
||||||
char* findend ( char* p, bool& externc )
|
char* findend ( char* p, bool& externc )
|
||||||
{
|
{
|
||||||
//if ( !strncmp ( p, "typedef enum _SE_OBJECT_TYPE", 28 ) )
|
if ( !strncmp ( p, "static inline struct _TEB * NtCurrentTeb", 40 ) )
|
||||||
// _CrtDbgBreak();
|
_CrtDbgBreak();
|
||||||
// special-case for 'extern "C"'
|
// special-case for 'extern "C"'
|
||||||
if ( !strncmp ( p, "extern", 6 ) )
|
if ( !strncmp ( p, "extern", 6 ) )
|
||||||
{
|
{
|
||||||
|
@ -411,7 +411,7 @@ char* findend ( char* p, bool& externc )
|
||||||
return end;
|
return end;
|
||||||
end = skipsemi ( semi );
|
end = skipsemi ( semi );
|
||||||
|
|
||||||
const char* structs[] = { "struct", "enum", "class" };
|
const char* structs[] = { "struct", "enum", "class", "union" };
|
||||||
for ( int i = 0; i < sizeof(structs)/sizeof(structs[0]); i++ )
|
for ( int i = 0; i < sizeof(structs)/sizeof(structs[0]); i++ )
|
||||||
{
|
{
|
||||||
char* pStruct = strstr ( p, structs[i] );
|
char* pStruct = strstr ( p, structs[i] );
|
||||||
|
|
Loading…
Reference in a new issue