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.
This commit is contained in:
parent
10d23ad82d
commit
4004c733c8
|
@ -458,7 +458,9 @@ void NETLIST_EXPORTER_PSPICE::UpdateDirectives( unsigned aCtl )
|
||||||
|| couplingK.Matches( line ) // K## L## L## coupling constant
|
|| couplingK.Matches( line ) // K## L## L## coupling constant
|
||||||
|| ( directiveStarted && line.StartsWith( '+' ) ) ) // multiline directives
|
|| ( 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
|
// Mark directive as started or continued in case it is a multi-line one
|
||||||
|
|
Loading…
Reference in New Issue