mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
Allow update x =-3, not just x = -3.
This commit is contained in:
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* 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 [,()\[\].;$\:\+\-\*\/\<\>\=\|]
|
self [,()\[\].;$\:\+\-\*\/\<\>\=\|]
|
||||||
op_and_self [\~\!\@\#\%\^\&\|\`\?\$\:\+\-\*\/\<\>\=]
|
op_and_self [\~\!\@\#\%\^\&\|\`\?\$\:\+\-\*\/\<\>\=]
|
||||||
|
op_and_self2 [\~\!\@\#\%\^\&\|\`\?\$\:\*\/\<\>\=]
|
||||||
op_only [\~\!\@\#\%\^\&\`\?]
|
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 */
|
/* we used to allow double-quoted strings, but SQL doesn't */
|
||||||
/* so we won't either*/
|
/* so we won't either*/
|
||||||
quote '
|
quote '
|
||||||
|
Reference in New Issue
Block a user