Skip to content

regression test failure with recent bison: syntax error, unexpected STRING_P, expecting end of file at or near """ #37

@df7cb

Description

@df7cb

With bison 3.7, some error message changed and makes the jsquery regression tests fail:

607--- /tmp/autopkgtest-lxc.qv5k86ce/downtmp/build.QH8/src/expected/jsquery.out	2020-07-27 04:40:49.000000000 +0000
608+++ /tmp/autopkgtest-lxc.qv5k86ce/downtmp/build.QH8/src/results/jsquery.out	2020-07-27 04:41:38.828913000 +0000
609@@ -67,7 +67,7 @@
610 ERROR:  bad jsquery representation
611 LINE 1: select '* < 13 AND #.zxc"x" = "true"'::jsquery;
612                ^
613-DETAIL:  syntax error, unexpected STRING_P, expecting $end at or near """
614+DETAIL:  syntax error, unexpected STRING_P, expecting end of file at or near """
615 select 'a < 1'::jsquery;
616  jsquery 
617 ---------
618@@ -1183,7 +1183,7 @@
619 ERROR:  bad jsquery representation
620 LINE 1: select 'a\r = x"\\abcd"'::jsquery AS err;
621                ^
622-DETAIL:  syntax error, unexpected STRING_P, expecting $end at or near """
623+DETAIL:  syntax error, unexpected STRING_P, expecting end of file at or near """
624 --IS
625 select  'as IS boolean OR as is ARRAY OR as is ObJect OR as is Numeric OR as is string'::jsquery;

Full test log: https://salsa.debian.org/postgresql/jsquery/-/jobs/891573

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions