Author: tkreuzer
Date: Sun Nov 21 16:58:26 2010
New Revision: 49692
URL:
http://svn.reactos.org/svn/reactos?rev=49692&view=rev
Log:
[SPEC2DEF]
Skip stubs. they are to be replaced by proper stubs
Modified:
branches/cmake-bringup/tools/spec2def/spec2def.c
Modified: branches/cmake-bringup/tools/spec2def/spec2def.c
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/tools/spec2def/sp…
==============================================================================
--- branches/cmake-bringup/tools/spec2def/spec2def.c [iso-8859-1] (original)
+++ branches/cmake-bringup/tools/spec2def/spec2def.c [iso-8859-1] Sun Nov 21 16:58:26
2010
@@ -249,10 +249,15 @@
{
exp.nCallingConvention = CC_FASTCALL;
}
- else if (CompareToken(pc, "extern") ||
- CompareToken(pc, "stub"))
+ else if (CompareToken(pc, "extern"))
{
exp.nCallingConvention = CC_EXTERN;
+ }
+ else if (CompareToken(pc, "stub"))
+ {
+ pc = NextToken(pc);
+ printf("warning: stub skipped: %.*s\n", TokenLength(pc), pc);
+ continue;
}
else
{