Eeschema, parser: allows using "default" as line style.
It is allowed in Eeschema code, so allow it if found in a .kicad_sch file, just in case. However it is not yet in use in .kicad_sch files to avoid breaking previous Kicad versions
This commit is contained in:
parent
a9619c051b
commit
98710e2742
|
@ -458,8 +458,9 @@ void SCH_SEXPR_PARSER::parseStroke( STROKE_PARAMS& aStroke )
|
|||
case T_dot: aStroke.SetPlotStyle( PLOT_DASH_TYPE::DOT ); break;
|
||||
case T_dash_dot: aStroke.SetPlotStyle( PLOT_DASH_TYPE::DASHDOT ); break;
|
||||
case T_solid: aStroke.SetPlotStyle( PLOT_DASH_TYPE::SOLID ); break;
|
||||
case T_default: aStroke.SetPlotStyle( PLOT_DASH_TYPE::DEFAULT ); break;
|
||||
default:
|
||||
Expecting( "solid, dash, dash_dot, or dot" );
|
||||
Expecting( "solid, dash, dash_dot, dot or default" );
|
||||
}
|
||||
|
||||
NeedRIGHT();
|
||||
|
|
|
@ -25,6 +25,7 @@ dash
|
|||
dash_dot
|
||||
data
|
||||
date
|
||||
default
|
||||
diameter
|
||||
dot
|
||||
edge_clock_high
|
||||
|
|
Loading…
Reference in New Issue