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(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Reply via email to