fix pŕevious commit mixing declarations and code
authorLisandro Dalcin <dalcinl@gmail.com>
Fri, 8 Apr 2011 04:06:17 +0000 (01:06 -0300)
committerLisandro Dalcin <dalcinl@gmail.com>
Fri, 8 Apr 2011 04:06:17 +0000 (01:06 -0300)
Cython/Compiler/Code.py
Cython/Compiler/ModuleNode.py

index 24809d688303c3415bdba2e5cd740ee72422cd7d..c70318a2fa1baf2d011196716ad80afb1e49b374 100644 (file)
@@ -1374,7 +1374,7 @@ class CCodeWriter(object):
         return self.globalstate.lookup_filename(filename)
 
     def put_declare_refcount_context(self):
-        self.putln('__Pyx_RefNannyDeclarations;')
+        self.putln('__Pyx_RefNannyDeclarations')
 
     def put_setup_refcount_context(self, name):
         self.putln('__Pyx_RefNannySetupContext("%s");' % name)
index 35c541808f13d3beb2e76f0420e8e598186de924..459a89d7ec18ec57ef3bcb830a86bd4900aab0f4 100644 (file)
@@ -2758,7 +2758,7 @@ proto="""
   } __Pyx_RefNannyAPIStruct;
   static __Pyx_RefNannyAPIStruct *__Pyx_RefNanny = NULL;
   static __Pyx_RefNannyAPIStruct *__Pyx_RefNannyImportAPI(const char *modname); /*proto*/
-  #define __Pyx_RefNannyDeclarations void *__pyx_refnanny = NULL
+  #define __Pyx_RefNannyDeclarations void *__pyx_refnanny = NULL;
   #define __Pyx_RefNannySetupContext(name) \
           __pyx_refnanny = __Pyx_RefNanny->SetupContext((name), __LINE__, __FILE__)
   #define __Pyx_RefNannyFinishContext() \