[Commit] nickle ChangeLog, 1.53, 1.54 Makefile.am, 1.54,
1.55 compile.c, 1.152, 1.153 configure.in, 1.34, 1.35 scanf.5c,
1.18, 1.19 make-version.sh, 1.2, NONE update-version.sh, 1.3, NONE
Keith Packard
commit at keithp.com
Wed May 26 01:01:43 PDT 2004
Committed by: keithp
Update of /local/src/CVS/nickle
In directory home.keithp.com:/tmp/cvs-serv7599
Modified Files:
ChangeLog Makefile.am compile.c configure.in scanf.5c
Removed Files:
make-version.sh update-version.sh
Log Message:
2004-05-26 Keith Packard <keithp at keithp.com>
version 2.35
* compile.c: (CompileArrayDimValue):
Array dimension values are always local in static initializers
* Makefile.am:
* bench/Makefile.am:
* configure.in:
* examples/Makefile.am:
* examples/menace2.5c:
* examples/randtest.5c:
* examples/rsa.5c:
* examples/smlng/.cvsignore:
* examples/smlng/Makefile.am:
* examples/smlng/data.sgml:
* examples/smlng/parse.5c:
* examples/smlng/test.5c:
* examples/turtle/Makefile.am:
* examples/turtle/snowflake.5c:
* make-version.sh:
* scanf.5c:
* update-version.sh:
Clean up examples so they all work again. Remove old files.
add 'scanf' to top-level namespace
Index: ChangeLog
===================================================================
RCS file: /local/src/CVS/nickle/ChangeLog,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- a/ChangeLog 26 May 2004 05:53:31 -0000 1.53
+++ b/ChangeLog 26 May 2004 08:01:41 -0000 1.54
@@ -1,6 +1,31 @@
-2004-05-25 Keith Packard <keithp at keithp.com>
+2004-05-26 Keith Packard <keithp at keithp.com>
version 2.35
+ * compile.c: (CompileArrayDimValue):
+ Array dimension values are always local in static initializers
+
+ * Makefile.am:
+ * bench/Makefile.am:
+ * configure.in:
+ * examples/Makefile.am:
+ * examples/menace2.5c:
+ * examples/randtest.5c:
+ * examples/rsa.5c:
+ * examples/smlng/.cvsignore:
+ * examples/smlng/Makefile.am:
+ * examples/smlng/data.sgml:
+ * examples/smlng/parse.5c:
+ * examples/smlng/test.5c:
+ * examples/turtle/Makefile.am:
+ * examples/turtle/snowflake.5c:
+ * make-version.sh:
+ * scanf.5c:
+ * update-version.sh:
+ Clean up examples so they all work again. Remove old files.
+ add 'scanf' to top-level namespace
+
+2004-05-25 Keith Packard <keithp at keithp.com>
+
* Makefile.am:
* builtin.c:
* configure.in:
Index: Makefile.am
===================================================================
RCS file: /local/src/CVS/nickle/Makefile.am,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- a/Makefile.am 26 May 2004 05:52:53 -0000 1.54
+++ b/Makefile.am 26 May 2004 08:01:41 -0000 1.55
@@ -4,7 +4,7 @@
## All Rights Reserved. See the file COPYING in this directory
## for licensing information.
-SUBDIRS = bench test
+SUBDIRS = bench test examples
VERSION = $(shell sh $(top_builddir)/version-sh $(top_srcdir)/ChangeLog)
BUILD_DATE = $(shell sh $(top_builddir)/date-sh)
@@ -13,18 +13,12 @@
arc4.5c prng.5c command.5c abort.5c \
printf.5c history.5c ctype.5c string.5c socket.5c \
file.5c parse-args.5c
-EXAMPLES = examples/circle.5c examples/comb.5c examples/kaiser.5c \
- examples/miller-rabin.5c examples/numbers.5c examples/prime.5c \
- examples/qbrating.5c examples/roman.5c examples/rsa-demo.5c \
- examples/rsa.5c
-TEST = test/gcdtest.5c test/inttest.5c test/rattest.5c
DEBIAN = debian/nickle.install debian/changelog debian/compat \
debian/control debian/copyright debian/rules
-EXTRA_DIST = README.name autogen.sh update-version.sh make-version.sh \
- $(NICKLEFILES) gram.h $(EXAMPLES) $(TEST) $(DEBIAN) ChangeLog \
- nickle.spec.in
+EXTRA_DIST = README.name autogen.sh \
+ $(NICKLEFILES) $(DEBIAN) ChangeLog
bin_PROGRAMS = nickle
Index: compile.c
===================================================================
RCS file: /local/src/CVS/nickle/compile.c,v
retrieving revision 1.152
retrieving revision 1.153
diff -u -d -r1.152 -r1.153
--- a/compile.c 26 May 2004 03:13:06 -0000 1.152
+++ b/compile.c 26 May 2004 08:01:41 -0000 1.153
@@ -3846,14 +3846,10 @@
d = 0;
for (c = code; c && c != type->array.u.frame.code; c = c->base.previous)
d++;
- if (type->array.u.frame.staticScope)
- {
- BuildInst (obj, OpStatic, inst, stat);
- }
- else
- {
- BuildInst (obj, OpLocal, inst, stat);
- }
+ /*
+ * non-global array dimensions are always local
+ */
+ BuildInst (obj, OpLocal, inst, stat);
inst->frame.staticLink = d;
inst->frame.element = type->array.u.frame.element;
break;
Index: configure.in
===================================================================
RCS file: /local/src/CVS/nickle/configure.in,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- a/configure.in 26 May 2004 05:52:53 -0000 1.34
+++ b/configure.in 26 May 2004 08:01:41 -0000 1.35
@@ -87,6 +87,9 @@
Makefile
test/Makefile
bench/Makefile
+ examples/Makefile
+ examples/smlng/Makefile
+ examples/turtle/Makefile
date-sh
version-sh
nickle.1
Index: scanf.5c
===================================================================
RCS file: /local/src/CVS/nickle/scanf.5c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- a/scanf.5c 24 Oct 2003 01:30:44 -0000 1.18
+++ b/scanf.5c 26 May 2004 08:01:41 -0000 1.19
@@ -181,12 +181,13 @@
return n;
}
- public int scanf (string format, *poly args...)
- {
- return File::vfscanf (stdin, format, args);
- }
-
public namespace ScanfGlobals {
+
+ public int scanf (string format, *poly args...)
+ {
+ return File::vfscanf (stdin, format, args);
+ }
+
public int vscanf (string format, (*poly)[*] args)
{
return File::vfscanf (stdin, format, args);
--- make-version.sh DELETED ---
--- update-version.sh DELETED ---
More information about the Commit
mailing list