cvsuser 03/07/02 01:29:18
Modified: languages/imcc ChangeLog main.c
Log:
add parrot version info; bump version; update ChangeLog
Revision Changes Path
1.15 +10 -0 parrot/languages/imcc/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /cvs/public/parrot/languages/imcc/ChangeLog,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -w -r1.14 -r1.15
--- ChangeLog 22 Feb 2003 15:12:25 -0000 1.14
+++ ChangeLog 2 Jul 2003 08:29:18 -0000 1.15
@@ -1,3 +1,13 @@
+- 2003-07-02 leo
+
+ * build imcc as parrot
+ * bump version
+
+ -------------------
+ * various fixes
+ * newsub opcode fixup
+ * constant_propagation (-O2) (by Matt Fowles)
+
- 2003-02-22 leo / Juergen Boemmels
* correct line numbers for debugger WRT macros
1.28 +14 -2 parrot/languages/imcc/main.c
Index: main.c
===================================================================
RCS file: /cvs/public/parrot/languages/imcc/main.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -w -r1.27 -r1.28
--- main.c 6 Jun 2003 10:06:06 -0000 1.27
+++ main.c 2 Jul 2003 08:29:18 -0000 1.28
@@ -20,7 +20,7 @@
#include "pbc.h"
#include "parser.h"
-#define IMCC_VERSION "0.0.9.15"
+#define IMCC_VERSION "0.0.10.0"
static int run_pbc, write_pbc;
static char optimizer_opt[20];
@@ -67,7 +67,19 @@
static void imcc_version(void)
{
printf("imcc version " IMCC_VERSION "\n");
- exit(0);
+ printf("This is parrot version " PARROT_VERSION " built for "
+ PARROT_ARCHNAME "\n\
+Copyright (C) 2001-2003 Yet Another Society. All Rights Reserved.\n\
+\n\
+Parrot may be copied only under the terms of either the Artistic License or the\n\
+GNU General Public License, which may be found in the Parrot source kit.\n\
+\n\
+This program is distributed in the hope that it will be useful,\n\
+but WITHOUT ANY WARRANTY; without even the implied warranty of\n\
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either\n\
+the GNU General Public License or the Artistic License for more details.\n\n");
+
+ Parrot_exit(0);
}
#define setopt(flag) Parrot_setflag(interp, flag, (*argv)[0]+2)