Project

General

Profile

Bug #965

Line, character details not filled in for at least some parse errors.

Added by Christopher Green over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
High
Category:
Infrastructure
Target version:
Start date:
02/12/2011
Due date:
% Done:

100%

Estimated time:
Occurs In:
Scope:
Internal
Experiment:
-
SSI Package:
Duration:

Description

The attached file has two errors in it: a bare number followed by a comma in a table and a double open-square-bracket for a sequence. Either or both of these errors being present results in a complaint of:

Failed to parse the configuration file '/home/greenc/test_config_fail.fcl' with exception ---- Parse error BEGIN
in document
at or before line 1, character 1, of file "/home/greenc/test_config_fail.fcl"
---- Parse error END

Walter, could you take a look first thing Monday so we can get a release out with this in soon?

test_config_fail.fcl (1.76 KB) test_config_fail.fcl Christopher Green, 02/14/2011 10:55 AM

Related issues

Related to art - Feature #964: Give full file/line/character diagnostics on confiuration parse errors.Closed02/12/2011

History

#1 Updated by Walter E Brown over 8 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Resolved by disallowing excessive (but technically correct) parser backtracking.

#3 Updated by Christopher Green over 8 years ago

  • Target version set to 0.4.3


Also available in: Atom PDF