summaryrefslogtreecommitdiff
path: root/src/bin/psql/mainloop.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2000-05-12 16:13:44 +0000
committerPeter Eisentraut <peter_e@gmx.net>2000-05-12 16:13:44 +0000
commit9d31e3a991fe902aa1a5620b8693496b9a0ec9c6 (patch)
tree1bc98828bb93a814efd5d73d9cdd0e26733fc161 /src/bin/psql/mainloop.c
parent475cb157b9c79464b707b8b9f68455c8311936b0 (diff)
/home/peter/commit-msg
Diffstat (limited to 'src/bin/psql/mainloop.c')
-rw-r--r--src/bin/psql/mainloop.c6
1 files changed, 4 insertions, 2 deletions
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
{