mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
more bug fixin'
svn path=/trunk/; revision=6569
This commit is contained in:
parent
14c5b2ca76
commit
39389a4414
1 changed files with 3 additions and 3 deletions
|
@ -373,8 +373,8 @@ char* skipsemi ( char* p )
|
|||
|
||||
char* findend ( char* p, bool& externc )
|
||||
{
|
||||
//if ( !strncmp ( p, "typedef enum _SE_OBJECT_TYPE", 28 ) )
|
||||
// _CrtDbgBreak();
|
||||
if ( !strncmp ( p, "static inline struct _TEB * NtCurrentTeb", 40 ) )
|
||||
_CrtDbgBreak();
|
||||
// special-case for 'extern "C"'
|
||||
if ( !strncmp ( p, "extern", 6 ) )
|
||||
{
|
||||
|
@ -411,7 +411,7 @@ char* findend ( char* p, bool& externc )
|
|||
return end;
|
||||
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++ )
|
||||
{
|
||||
char* pStruct = strstr ( p, structs[i] );
|
||||
|
|
Loading…
Reference in a new issue