mirror of
https://github.com/postgres/postgres.git
synced 2025-08-19 23:22:23 +03:00
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.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* NOTE NOTE NOTE:
|
||||
*
|
||||
* The rules in this file must be kept in sync with psql's psqlscan.l!
|
||||
* The rules in this file must be kept in sync with src/fe_utils/psqlscan.l!
|
||||
*
|
||||
* The rules are designed so that the scanner never has to backtrack,
|
||||
* in the sense that there is always a rule that can match the input
|
||||
|
Reference in New Issue
Block a user