projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
381a51f
)
Use {xqoctesc} lex macro now that \ddd is standard.
author
Bruce Momjian
<
[email protected]
>
Mon, 30 May 2005 16:48:47 +0000
(16:48 +0000)
committer
Bruce Momjian
<
[email protected]
>
Mon, 30 May 2005 16:48:47 +0000
(16:48 +0000)
src/bin/psql/psqlscan.l
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/psql/psqlscan.l
b/src/bin/psql/psqlscan.l
index f0487e925f73876a93a4ef88f146eebc6a27c246..357fd139434077633575b8279c4cb5bb8ba040e0 100644
(file)
--- a/
src/bin/psql/psqlscan.l
+++ b/
src/bin/psql/psqlscan.l
@@
-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));