You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by da...@apache.org on 2001/09/30 20:56:45 UTC

cvs commit: tcl-rivet/src make.tcl parser.c

davidw      01/09/30 11:56:45

  Modified:    src      make.tcl parser.c
  Added:       .        ChangeLog INSTALL
  Log:
  { and } need to be quoted too in parser.c
  
  Revision  Changes    Path
  1.1                  tcl-rivet/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  2001-09-23  David N. Welton  <da...@dedasys.com>
  
  	* Initial commit and cleanup of old mod_dtcl code.
  
  
  
  
  1.1                  tcl-rivet/INSTALL
  
  Index: INSTALL
  ===================================================================
  The only thing you need to install Rivet is a C compiler and linker.
  
  Rivet is built by means of a Tcl make-like script which calculates
  dependencies and runs the C compiler and linker.
  
  doc/install.html details the Rivet installation process.
  
  
  1.2       +6 -2      tcl-rivet/src/make.tcl
  
  Index: make.tcl
  ===================================================================
  RCS file: /home/cvs/tcl-rivet/src/make.tcl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- make.tcl	2001/09/19 13:12:58	1.1
  +++ make.tcl	2001/09/30 18:56:45	1.2
  @@ -2,7 +2,7 @@
   # the next line restarts using tclsh \
   	exec tclsh "$0" "$@"
   
  -# $Id: make.tcl,v 1.1 2001/09/19 13:12:58 davidw Exp $
  +# $Id: make.tcl,v 1.2 2001/09/30 18:56:45 davidw Exp $
   
   # this file actually runs things, making use of the aardvark build
   # system.
  @@ -24,7 +24,11 @@
   
   # ------------
   
  -Verbose
  +# Verbose
  +
  +# AddNode adds a compile target
  +# depends lists the nodes on which it depends
  +# command is the command to compile
   
   AddNode apache_cookie.o {
       depends "apache_cookie.c apache_cookie.h"
  
  
  
  1.2       +7 -1      tcl-rivet/src/parser.c
  
  Index: parser.c
  ===================================================================
  RCS file: /home/cvs/tcl-rivet/src/parser.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- parser.c	2001/09/19 13:12:58	1.1
  +++ parser.c	2001/09/30 18:56:45	1.2
  @@ -1,4 +1,4 @@
  -/* $Id: parser.c,v 1.1 2001/09/19 13:12:58 davidw Exp $
  +/* $Id: parser.c,v 1.2 2001/09/30 18:56:45 davidw Exp $
   
      Rivet parser - doesn't really need any of the includes besides
      tcl.h.
  @@ -70,6 +70,12 @@
   		/* or else just put the char in outbuf  */
   		switch (c)
   		{
  +		case '{':
  +		    Tcl_DStringAppend(&dstr, "\\{", -1);
  +		    break;
  +		case '}':
  +		    Tcl_DStringAppend(&dstr, "\\}", -1);
  +		    break;
   		case '$':
   		    Tcl_DStringAppend(&dstr, "\\$", -1);
   		    break;