eeschema: Pad spice ops to differentiate
The .op command is isolated, so differentiating from .option with a
space will only work if we ensure all commandlines have a space at their
end.
(cherry picked from commit 4004c733c8
)
This commit is contained in:
parent
e54ea90607
commit
a7d554971c
|
@ -454,7 +454,9 @@ void NETLIST_EXPORTER_PSPICE::UpdateDirectives( unsigned aCtl )
|
|||
|| couplingK.Matches( line ) // K## L## L## coupling constant
|
||||
|| ( directiveStarted && line.StartsWith( '+' ) ) ) // multiline directives
|
||||
{
|
||||
m_directives.push_back( line );
|
||||
// Pad the directive to ensure we distinguish between short directives
|
||||
// and the start of a longer directive
|
||||
m_directives.emplace_back( line + " " );
|
||||
}
|
||||
|
||||
// Mark directive as started or continued in case it is a multi-line one
|
||||
|
|
Loading…
Reference in New Issue