[Commit] nickle/examples/smlng .cvsignore, NONE, 1.1 Makefile.am, NONE, 1.1 data.sgml, NONE, 1.1 parse.5c, 1.7, 1.8 test.5c, 1.1, 1.2

Keith Packard commit at keithp.com
Wed May 26 01:01:44 PDT 2004


Committed by: keithp

Update of /local/src/CVS/nickle/examples/smlng
In directory home.keithp.com:/tmp/cvs-serv7599/examples/smlng

Modified Files:
	parse.5c test.5c 
Added Files:
	.cvsignore Makefile.am data.sgml 
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


--- NEW FILE: .cvsignore ---
Makefile
Makefile.in

--- NEW FILE: Makefile.am ---
NICKLEFILES=\
	context.5c \
	generate.5c \
	parse.5c \
	test.5c

exampledir=$(pkgdatadir)/examples/smlng

example_DATA=$(NICKLEFILES)

TESTS_ENVIRONMENT=NICKLESTART=$(top_srcdir)/builtin.5c NICKLEPATH=$(top_srcdir):$(top_srcdir)/$(subdir) $(top_builddir)/nickle < $(top_srcdir)/$(subdir)/data.sgml > /dev/null

TESTS=test.5c

EXTRA_DIST=$(NICKLEFILES) data.sgml

--- NEW FILE: data.sgml ---
<r>hello <b>blue</b> <g>green</g> world</r>

Index: parse.5c
===================================================================
RCS file: /local/src/CVS/nickle/examples/smlng/parse.5c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- a/parse.5c	27 Jul 2002 04:53:15 -0000	1.7
+++ b/parse.5c	26 May 2004 08:01:42 -0000	1.8
@@ -2,7 +2,7 @@
  * Parse simple sgml-style grammar
  */
 
-load "context.5c"
+library "context.5c"
 
 public namespace Lexc {
     public global int Eof = 0;

Index: test.5c
===================================================================
RCS file: /local/src/CVS/nickle/examples/smlng/test.5c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/test.5c	27 Jul 2001 06:44:12 -0000	1.1
+++ b/test.5c	26 May 2004 08:01:42 -0000	1.2
@@ -1,4 +1,4 @@
-load "parse.5c"
+library "parse.5c"
 
 *Parse::element e = Parse::get(stdin);
-Parse::dump(e);
\ No newline at end of file
+Parse::dump(e);




More information about the Commit mailing list