From: Bruce Momjian Date: Fri, 28 Feb 1997 13:25:16 +0000 (+0000) Subject: Allow update x =-3, not just x = -3. X-Git-Tag: REL6_1~524 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=38f4f678309c2911f7472c1a87baa4273bf8f7ee;p=postgresql Allow update x =-3, not just x = -3. --- diff --git a/src/backend/parser/scan.l b/src/backend/parser/scan.l index 4ea2fc2e81..f741b8bc7d 100644 --- a/src/backend/parser/scan.l +++ b/src/backend/parser/scan.l @@ -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 '