develooper Front page | perl.cvs.parrot | Postings from January 2009

[svn:parrot] r35029 - trunk/compilers/pirc/src

From:
kjs
Date:
January 6, 2009 05:22
Subject:
[svn:parrot] r35029 - trunk/compilers/pirc/src
Message ID:
20090106132234.876CACB9F9@x12.develooper.com
Author: kjs
Date: Tue Jan  6 05:22:33 2009
New Revision: 35029

Modified:
   trunk/compilers/pirc/src/pirpcc.c
   trunk/compilers/pirc/src/pirsymbol.c
   trunk/compilers/pirc/src/pirsymbol.h

Log:
[pirc] previous fix wasn't the fix I meant. Now fix the compile error on linux.

Modified: trunk/compilers/pirc/src/pirpcc.c
==============================================================================
--- trunk/compilers/pirc/src/pirpcc.c	(original)
+++ trunk/compilers/pirc/src/pirpcc.c	Tue Jan  6 05:22:33 2009
@@ -23,7 +23,7 @@
 #include "pircompunit.h"
 #include "pircompiler.h"
 #include "pirerr.h"
-#include "pirdefines.h"
+#include "pirsymbol.h"
 
 #include "parrot/oplib/ops.h"
 

Modified: trunk/compilers/pirc/src/pirsymbol.c
==============================================================================
--- trunk/compilers/pirc/src/pirsymbol.c	(original)
+++ trunk/compilers/pirc/src/pirsymbol.c	Tue Jan  6 05:22:33 2009
@@ -49,7 +49,7 @@
 */
 
 
-#define NO_REG_ALLOCATED    -1
+
 
 /* Conversion Look-Up Table (CLUT) for pir_type and value_type enums.
  *

Modified: trunk/compilers/pirc/src/pirsymbol.h
==============================================================================
--- trunk/compilers/pirc/src/pirsymbol.h	(original)
+++ trunk/compilers/pirc/src/pirsymbol.h	Tue Jan  6 05:22:33 2009
@@ -18,6 +18,8 @@
 #include "pircompunit.h"
 #include "pirregalloc.h"
 
+#define NO_REG_ALLOCATED    -1
+
 /* core info of all symbols and PIR registers ($I42, etc.). */
 typedef struct syminfo {
     int            color;



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About