pgsql/src backend/parser/scan.l backend/po/nls ... - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql/src backend/parser/scan.l backend/po/nls ...
Date
Msg-id 20020501171208.313AA476108@postgresql.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    02/05/01 13:12:08

Modified files:
    src/backend/parser: scan.l
    src/backend/po : nls.mk
    src/test/regress/expected: strings.out

Log message:
    Improve lexer's error reporting.  You get the whole token mentioned now
    in parse error messages, not just the part scanned by the last flex rule.
    For example,
    select "foo" "bar";
    used to draw
    ERROR:  parser: parse error at or near """
    which was rather unhelpful.  Now it gives
    ERROR:  parser: parse error at or near ""bar""
    Also, error messages concerning bitstring literals and suchlike will
    quote the source text at you, not the processed internal form of the literal.


pgsql-committers by date:

Previous
From: wieck@postgresql.org (Jan Wieck)
Date:
Subject: pgsql/src/pl/plpgsql/src gram.y
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql/src backend/parser/parse_node.c backend/ ...