right.patch

application/octet-stream

Filename: right.patch
Type: application/octet-stream
Part: 0
Message: Re: [HACKERS] Postgres' lexer
*** scan.1	Thu Sep  2 19:22:34 1999
--- scan.l	Thu Sep  2 19:17:30 1999
***************
*** 142,148 ****
  
  self			[,()\[\].;$\:\+\-\*\/\%\<\>\=\|]
  op_and_self		[\~\!\@\#\^\&\|\`\?\$\:\+\-\*\/\%\<\>\=]
! operator		{op_and_self}+
  
  /* we do not allow unary minus in numbers. 
   * instead we pass it verbatim to parser. there it gets
--- 142,148 ----
  
  self			[,()\[\].;$\:\+\-\*\/\%\<\>\=\|]
  op_and_self		[\~\!\@\#\^\&\|\`\?\$\:\+\-\*\/\%\<\>\=]
! operator		{op_and_self}+[\~\!\@\#\^\&\|\`\?\$\:\+\*\/\%\<\>\=]
  
  /* we do not allow unary minus in numbers. 
   * instead we pass it verbatim to parser. there it gets