MSI doesn't handle empty substitution patterns correctly

Bug #1810946 reported by Martin Konrad
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
EPICS Base
Status tracked in 7.0
3.15
Fix Released
Undecided
Martin Konrad
7.0
Fix Released
Undecided
Martin Konrad

Bug Description

EPICS 3.15.6 doesn't handle empty substitution patterns correctly anymore:

file "a.db" {
  { }
}

results in

msi: Parse error, unexpected '}'

No problems with older versions of Base. I'm able to work around the problem by using:

file "a.db" {
  { DUMMY="" }
}

This regression was introduced by the following commit:

https://git.launchpad.net/epics-base/commit/?h=3.15&id=67e2b74758982fd46be5529e28fcb93fd7eb59ad

Revision history for this message
Martin Konrad (info-martin-konrad) wrote :
Revision history for this message
Martin Konrad (info-martin-konrad) wrote :

This issue was discussed on Core Talk: https://epics.anl.gov/core-talk/2018/msg00678.php

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.