Skip to content

Commit 33294d5

Browse files
committed
Use {xqoctesc} lex macro now that \ddd is standard.
1 parent a2cce84 commit 33294d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/psql/psqlscan.l

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* Portions Copyright (c) 1994, Regents of the University of California
3434
*
3535
* IDENTIFICATION
36-
* $PostgreSQL: pgsql/src/bin/psql/psqlscan.l,v 1.11 2005/05/30 14:50:35 momjian Exp $
36+
* $PostgreSQL: pgsql/src/bin/psql/psqlscan.l,v 1.12 2005/05/30 16:48:47 momjian Exp $
3737
*
3838
*-------------------------------------------------------------------------
3939
*/
@@ -849,7 +849,7 @@ other .
849849
"\\r" { appendPQExpBufferChar(output_buf, '\r'); }
850850
"\\f" { appendPQExpBufferChar(output_buf, '\f'); }
851851

852-
"\\"[0-7]{1,3} {
852+
{xqoctesc} {
853853
/* octal case */
854854
appendPQExpBufferChar(output_buf,
855855
(char) strtol(yytext + 1, NULL, 8));

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy