pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Meskes <meskes@postgresql.org>
To: Stephen Birch <sbirch@ironmountainsystems.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: [INTERFACES] Oops: ecpg changes <> to = (not good)
Date: Wed, 15 Dec 1999 08:03:30 +0100
Message-ID: <19991215080330.A1104@fam-meskes.de> (raw)
In-Reply-To: <3856A6CE.324E8242@ironmountainsystems.com>
References: <3856A6CE.324E8242@ironmountainsystems.com>

On Tue, Dec 14, 1999 at 12:21:34PM -0800, Stephen Birch wrote:
> In the process of cleaning up some memory leaks in the cvs tree, I
> discovered that
> the checked in version of ecpg interperates <> as =:

Oops. This typo got in there when I took over the simplified a_expr and
b_expr rules from gram.y. 

> I would debug this myself, but do not understand lex and yacc well
> enough yet.

I already changed it in my source. As soon as I commit the correct version
will go in.

If you need a patch earlier I attach the patch.

Michael
-- 
Michael Meskes                         | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz    | Go Rhein Fire!
Tel.: (+49) 2431/72651                 | Use Debian GNU/Linux!
Email: Michael@Fam-Meskes.De           | Use PostgreSQL!

Attachments:

patch (text/plain, 604B) download --- preproc.y.orig Wed Dec 15 08:02:35 1999 +++ preproc.y Wed Dec 15 08:02:58 1999 @@ -3595,7 +3595,7 @@ | a_expr '=' a_expr { $$ = cat3_str($1, make1_str("="), $3); } | a_expr Op a_expr - { $$ = cat3_str($1, make1_str("="), $3); } + { $$ = cat3_str($1, $2, $3); } | Op a_expr { $$ = cat2_str($1, $2); } | a_expr Op @@ -3713,7 +3713,7 @@ | b_expr '=' b_expr { $$ = cat3_str($1, make1_str("="), $3); } | b_expr Op b_expr - { $$ = cat3_str($1, make1_str("="), $3); } + { $$ = cat3_str($1, $2, $3); } | Op b_expr { $$ = cat2_str($1, $2); } | b_expr Op

view thread (2+ messages)

Message-ID: <19991215080330.A1104@fam-meskes.de>
Permalink:  ../19991215080330.A1104@fam-meskes.de/
Also on:    postgresql.org/message-id/19991215080330.A1104@fam-meskes.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: meskes@postgresql.org, sbirch@ironmountainsystems.com
  Subject: Re: [INTERFACES] Oops: ecpg changes <> to = (not good)
  In-Reply-To: <19991215080330.A1104@fam-meskes.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox