Fix bugs in the isolation tester flex rules.
Tom Lane pointed out that it was giving a warning: "-s option given but
default rule can be matched". That was because there was no rule to handle
newline in a quoted string. I made that throw an error.
Also, line number tracking was broken, giving incorrect line number on
error. Fixed that too.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/74a09d92101f36a5fe66f4f74253708931546e4c
Modified Files
--------------
src/test/isolation/specscanner.l | 26 +++++++++++++++++---------
1 files changed, 17 insertions(+), 9 deletions(-)
pgsql-committers by date
| Next: | From: Michael Meskes | Date: 2011-03-10 11:25:01 |
| Subject: Re: pgsql: Added new version of ecpg's parser
generator script. This one wa |
| Previous: | From: Itagaki Takahiro | Date: 2011-03-10 06:24:00 |
| Subject: pgsql: Cleanup copyright years and file names in the header commentsof |