diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-11-12 00:13:00 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-11-12 00:13:00 +0000 |
commit | 2dee828cacfe58f6babe2c86f95bf106c8060ca4 (patch) | |
tree | 51b4d9fc623507caecd337bd35167c26571dec02 /src/backend/parser/scansup.c | |
parent | 60cd1f182943448eeb662b0f73ecb985ad9cc26e (diff) |
Remove plpgsql's separate lexer (finally!), in favor of using the core lexer
directly. This was a lot of trouble, but should be worth it in terms of
not having to keep the plpgsql lexer in step with core anymore. In addition
the handling of keywords is significantly better-structured, allowing us to
de-reserve a number of words that plpgsql formerly treated as reserved.
Diffstat (limited to 'src/backend/parser/scansup.c')
-rw-r--r-- | src/backend/parser/scansup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/parser/scansup.c b/src/backend/parser/scansup.c index b4d8612d6c9..b3b5daa2213 100644 --- a/src/backend/parser/scansup.c +++ b/src/backend/parser/scansup.c @@ -9,7 +9,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/parser/scansup.c,v 1.37 2009/01/01 17:23:46 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/parser/scansup.c,v 1.38 2009/11/12 00:13:00 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -197,7 +197,6 @@ bool scanner_isspace(char ch) { /* This must match scan.l's list of {space} characters */ - /* and plpgsql's scan.l as well */ if (ch == ' ' || ch == '\t' || ch == '\n' || |