[ros-diffs] [tkreuzer] 49692: [SPEC2DEF] Skip stubs. they are to be replaced by proper stubs

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Sun Nov 21 16:58:26 UTC 2010


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/spec2def.c?rev=49692&r1=49691&r2=49692&view=diff
==============================================================================
--- 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
         {




More information about the Ros-diffs mailing list