*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.135 2005/02/02 15:37:43 meskes Exp $
+ * $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.136 2005/06/16 01:43:48 momjian Exp $
*
*-------------------------------------------------------------------------
*/
xqstop {quote}
xqdouble {quote}{quote}
xqinside [^\\']+
-xqescape [\\][^0-7]
-xqoctesc [\\][0-7]{1,3}
+xqescape [\\][^0-7]
+xqoctesc [\\][0-7]{1,3}
+xqhexesc [\\]x[0-9A-Fa-f]{1,2}
xqcat {quote}{whitespace_with_newline}{quote}
/* $foo$ style quotes ("dollar quoting")
{xqdouble} { addlitchar('\''); }
{xqinside} { addlit(yytext, yyleng); }
{xqescape} { addlit(yytext, yyleng); }
-{xqoctesc} { addlit(yytext, yyleng); }
+{xqoctesc} { addlit(yytext, yyleng); }
+{xqhexesc} { addlit(yytext, yyleng); }
{xqcat} { /* ignore */ }
. {
/* This is only needed for \ just before EOF */