From 9d31e3a991fe902aa1a5620b8693496b9a0ec9c6 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Fri, 12 May 2000 16:13:44 +0000 Subject: /home/peter/commit-msg --- src/bin/psql/mainloop.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/bin/psql/mainloop.c') diff --git a/src/bin/psql/mainloop.c b/src/bin/psql/mainloop.c index 3e746a037f5..bc229944444 100644 --- a/src/bin/psql/mainloop.c +++ b/src/bin/psql/mainloop.c @@ -3,7 +3,7 @@ * * Copyright 2000 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/mainloop.c,v 1.29 2000/04/14 23:43:44 petere Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/mainloop.c,v 1.30 2000/05/12 16:13:44 petere Exp $ */ #include "postgres.h" #include "mainloop.h" @@ -297,6 +297,7 @@ MainLoop(FILE *source) else bslash_count = 0; + rescan: /* in quote? */ if (in_quote) { @@ -382,7 +383,8 @@ MainLoop(FILE *source) free(line); line = new; len = strlen(new); - continue; /* reparse the just substituted */ + + goto rescan; /* reparse the just substituted */ } else { -- cgit v1.2.3