Allow update x =-3, not just x = -3.

This commit is contained in:
Bruce Momjian 1997-02-28 13:25:16 +00:00
parent 326d1568fd
commit 38f4f67830
1 changed files with 3 additions and 2 deletions

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.10 1997/02/19 20:10:38 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.11 1997/02/28 13:25:16 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -67,9 +67,10 @@ identifier {letter}{letter_or_digit}*
self [,()\[\].;$\:\+\-\*\/\<\>\=\|]
op_and_self [\~\!\@\#\%\^\&\|\`\?\$\:\+\-\*\/\<\>\=]
op_and_self2 [\~\!\@\#\%\^\&\|\`\?\$\:\*\/\<\>\=]
op_only [\~\!\@\#\%\^\&\`\?]
operator ({op_and_self}{op_and_self}+)|{op_only}+
operator ({op_and_self}{op_and_self2}+)|{op_only}+
/* we used to allow double-quoted strings, but SQL doesn't */
/* so we won't either*/
quote '