summaryrefslogtreecommitdiff
path: root/src/bin/psql/mainloop.c
diff options
context:
space:
mode:
authorTom Lane2016-03-25 00:28:47 +0000
committerTom Lane2016-03-25 00:28:47 +0000
commitc1156411ad0879a71956b64aa487babe7572685b (patch)
tree2213c8da830ec180c397bb84fced8b472f69f341 /src/bin/psql/mainloop.c
parentd65bea26a867e3bbd053bf87b985b0e113256414 (diff)
Move psql's psqlscan.l into src/fe_utils.
This completes (at least for now) the project of getting rid of ad-hoc linkages among the src/bin/ subdirectories. Everything they share is now in src/fe_utils/ and is included from a static library at link time. A side benefit is that we can restore the FLEX_NO_BACKUP check for psqlscanslash.l. We might need to think of another way to do that check if we ever need to build two lexers with that property in the same source directory, but there's no foreseeable reason to need that.
Diffstat (limited to 'src/bin/psql/mainloop.c')
-rw-r--r--src/bin/psql/mainloop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/psql/mainloop.c b/src/bin/psql/mainloop.c
index 1eb5a2ec537..37dfa4d0e35 100644
--- a/src/bin/psql/mainloop.c
+++ b/src/bin/psql/mainloop.c
@@ -11,6 +11,7 @@
#include "command.h"
#include "common.h"
#include "input.h"
+#include "prompt.h"
#include "settings.h"
#include "mb/pg_wchar.h"