cvsuser 03/11/16 16:44:33
Modified: imcc imc.h imc.c
Log:
Add another pragma which might be useful with the new sub call syntax.
Revision Changes Path
1.57 +1 -0 parrot/imcc/imc.h
Index: imc.h
===================================================================
RCS file: /cvs/public/parrot/imcc/imc.h,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -w -r1.56 -r1.57
--- imc.h 16 Nov 2003 04:31:39 -0000 1.56
+++ imc.h 17 Nov 2003 00:44:33 -0000 1.57
@@ -130,6 +130,7 @@
int fastcall; /* Use low level branch op, pass/return on stack
* as opposed to pcc convention and invoke */
/* more to come */
+ int prototyped; /* Currently undefined which will be the default */
};
EXTERN struct _imc_pragmas pragmas;
1.66 +2 -1 parrot/imcc/imc.c
Index: imc.c
===================================================================
RCS file: /cvs/public/parrot/imcc/imc.c,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -w -r1.65 -r1.66
--- imc.c 16 Nov 2003 08:26:14 -0000 1.65
+++ imc.c 17 Nov 2003 00:44:33 -0000 1.66
@@ -211,6 +211,7 @@
fprintf(stderr, "imc_pragma %s\n", str);
#endif
if(!strcmp(str, "fastcall")) pragmas.fastcall = 1;
+ else if(!strcmp(str, "prototyped")) pragmas.prototyped = 1;
else return;
/* More options here */
}