[Commit] jove c.c,1.4,1.5 delete.c,1.2,1.3

Keith Packard commit at keithp.com
Fri Aug 15 18:25:43 PDT 2003


Committed by: keithp

Update of /local/src/CVS/jove
In directory home.keithp.com:/tmp/cvs-serv31035

Modified Files:
	c.c delete.c 
Log Message:
Fix unindenting pattern, repair string walking in delete

Index: c.c
===================================================================
RCS file: /local/src/CVS/jove/c.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- c.c	15 May 2003 00:01:06 -0000	1.4
+++ c.c	16 Aug 2003 00:25:41 -0000	1.5
@@ -486,7 +486,7 @@
 }
 
 char	CAddIndent[] = ".*)[ \t]*$\\|.*[ \t};]else[ \t]*$\\|^[ \t]*do[ \t]*$";
-char	CUnIndent[] = "^[ \t]*case.*:\\|^[ \t]*[a-zA-Z0-9_][a-zA-Z0-9_]*[ \t]*:";
+char	CUnIndent[] = "^[ \t]*case.*:\\|^[ \t]*[a-zA-Z0-9_][a-zA-Z0-9_]*[ \t]*:$";
 
 previous_c_line (min_line)
 	Line	*min_line;

Index: delete.c
===================================================================
RCS file: /local/src/CVS/jove/delete.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- delete.c	15 May 2003 00:01:06 -0000	1.2
+++ delete.c	16 Aug 2003 00:25:41 -0000	1.3
@@ -249,7 +249,7 @@
 	while ((c = parse_ucs4 (ep)) == ' ' || c == '\t')
 		ep = buf_next (ep);
 	while ((pp = buf_prev (sp, linebuf)) != sp &&
-	       (c = parse_ucs4 (pp)) == ' ' || c == '\t')
+	       ((c = parse_ucs4 (pp)) == ' ' || c == '\t'))
 		sp = pp;
 	if (sp != ep) {
 		curchar = sp - linebuf;




More information about the Commit mailing list