OSDN Git Service

Fix bugs in the isolation tester flex rules.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 10 Mar 2011 07:01:27 +0000 (09:01 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 10 Mar 2011 07:06:56 +0000 (09:06 +0200)
commit74a09d92101f36a5fe66f4f74253708931546e4c
tree5ec8c34bca654bec448728d3570d06a869361274
parent2d8de0a50b54cc0ed430ffa96dc8776dfe95d5ff
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.
src/test/isolation/specscanner.l