Skip site navigation (1) Skip section navigation (2)

Re: Doing psql's lexing with flex

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Doing psql's lexing with flex
Date: 2004-02-18 16:32:54
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> I think we should put big warning signs on both the backend's and psql's 
> .l files saying they must be kept in sync.

Right.  I was planning to do that, and also to make some trivial
reformatting in the backend's scan.l to make it easier to compare the
two files by diff.  For example, consistently write

	pattern		{


	pattern		{ action; }

so that the diffs are confined to the action lines.

			regards, tom lane

In response to

pgsql-patches by date

Next:From: Hans-Jürgen SchönigDate: 2004-02-18 17:14:15
Subject: NO WAIT ...
Previous:From: Bruce MomjianDate: 2004-02-18 16:25:20
Subject: Re: [PATCHES] win32 setitimer implementation

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group