Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: basesrc/bin/sh




To: source-changes%netbsd.org@localhost

Subject: CVS commit: basesrc/bin/sh

From: Christos Zoulas <christos%netbsd.org@localhost>

Date: Tue, 12 Feb 2002 22:32:38 +0200 (EET)


Module Name:    basesrc
Committed By:   christos
Date:           Tue Feb 12 20:32:37 UTC 2002

Modified Files:
        basesrc/bin/sh: mksyntax.c parser.c

Log Message:
Since we should be able to handle nested double quotes, don't use
the syntax maps to determine the beginning and end quotes (kill
CENDQUOTE).  Handle single quotes opening and closing via checking
the current syntax map. Keep a bitmap of doublequote state one bit
per variable nesting level.  For the first 32 nested double quotes,
we don't need any additional memory, but for more we allocate
dynamically.


To generate a diff of this commit:
cvs rdiff -r1.23 -r1.24 basesrc/bin/sh/mksyntax.c
cvs rdiff -r1.50 -r1.51 basesrc/bin/sh/parser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Follow-Ups:

Re: CVS commit: basesrc/bin/sh
From: enami tsugutomo




Prev by Date: CVS commit: xsrc/xc/programs/Xserver

Next by Date: CVS commit: basesrc/regress/bin/sh

Previous by Thread: CVS commit: xsrc/xc/programs/Xserver

Next by Thread: Re: CVS commit: basesrc/bin/sh

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index