]> granicus.if.org Git - postgresql/commitdiff
Allow update x =-3, not just x = -3.
authorBruce Momjian <bruce@momjian.us>
Fri, 28 Feb 1997 13:25:16 +0000 (13:25 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 28 Feb 1997 13:25:16 +0000 (13:25 +0000)
src/backend/parser/scan.l

index 4ea2fc2e812fc477d7f850d9d7de8c6efaab4030..f741b8bc7d58223a466af84ad0ab5a17764f53c5 100644 (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           '