diff options
author | Bruce Momjian <bruce@momjian.us> | 2005-05-30 16:48:47 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2005-05-30 16:48:47 +0000 |
commit | 33294d57c7c8f0fe88dc5ae7d87de293069019c0 (patch) | |
tree | 322b618ac3ac60aa65837fa8c4831ab0d6accbe3 /src | |
parent | a2cce84349d9555e04d3f38343efeed4aa99f0d2 (diff) | |
download | postgresql-33294d57c7c8f0fe88dc5ae7d87de293069019c0.tar.gz postgresql-33294d57c7c8f0fe88dc5ae7d87de293069019c0.zip |
Use {xqoctesc} lex macro now that \ddd is standard.
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/psql/psqlscan.l | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/psqlscan.l b/src/bin/psql/psqlscan.l index 2fd4d729a3a..4159ee0220f 100644 --- a/src/bin/psql/psqlscan.l +++ b/src/bin/psql/psqlscan.l @@ -33,7 +33,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/bin/psql/psqlscan.l,v 1.11 2005/05/30 14:50:35 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/psql/psqlscan.l,v 1.12 2005/05/30 16:48:47 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -849,7 +849,7 @@ other . "\\r" { appendPQExpBufferChar(output_buf, '\r'); } "\\f" { appendPQExpBufferChar(output_buf, '\f'); } -"\\"[0-7]{1,3} { +{xqoctesc} { /* octal case */ appendPQExpBufferChar(output_buf, (char) strtol(yytext + 1, NULL, 8)); |