From: Bruce Momjian Date: Mon, 30 May 2005 16:48:47 +0000 (+0000) Subject: Use {xqoctesc} lex macro now that \ddd is standard. X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=cc40d6844ab56ac02b9875b4a7ef543fa46b7dc9;p=users%2Fbernd%2Fpostgres.git Use {xqoctesc} lex macro now that \ddd is standard. --- diff --git a/src/bin/psql/psqlscan.l b/src/bin/psql/psqlscan.l index f0487e925f..357fd13943 100644 --- 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));