Project

General

Profile

Bug #3559

In the consumption map file blank lines within a sub group don't work

Added by Robert Illingworth almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
03/01/2013
Due date:
% Done:

0%

Estimated time:
Duration:

Description

In the config map file, an entry like

schemas {

  file {
    uboonedata file://%path/%filename
  }

  gsiftp {
    uboonedata gsiftp://fg-bestman1.fnal.gov:2811%path/%filename
  }
}

doesn't work, because of the blank lines within the schemas group. Oddly enough it's not causing an error; it just ignores the whole thing. Blank lines at the top level work fine.

History

#1 Updated by Robert Illingworth almost 7 years ago

  • Subject changed from In the config map file blank lines within a sub group don't work to In the consumption map file blank lines within a sub group don't work

There are two problems here. One is that it's not checking the result of the parse function, which is why there's no error (maybe it should throw an exception instead?). The other is that there's no grammar rule which matches an entirely blank line. Add a comment character anywhere on the line and it's happy to ignore it.

#2 Updated by Robert Illingworth almost 7 years ago

  • Target version set to sam_station v9_0_1

#3 Updated by Robert Illingworth almost 7 years ago

  • Status changed from New to Closed
  • Assignee set to Robert Illingworth

Fixed in 594efec3



Also available in: Atom PDF