Fix file format syntax of arcs in polygons
No format bump as there is no way to create these files yet.
This commit is contained in:
parent
8f0104f921
commit
576d70fab0
|
@ -856,7 +856,7 @@ void PCB_IO::format( const PCB_SHAPE* aShape, int aNestLevel ) const
|
|||
else
|
||||
{
|
||||
const SHAPE_ARC& arc = outline.Arc( ind );
|
||||
m_out->Print( aNestLevel, "%s(arc (start %s) (mid %s) (end %s)",
|
||||
m_out->Print( aNestLevel, "%s(arc (start %s) (mid %s) (end %s))",
|
||||
nestLevel ? "" : " ",
|
||||
FormatInternalUnits( arc.GetP0() ).c_str(),
|
||||
FormatInternalUnits( arc.GetArcMid() ).c_str(),
|
||||
|
|
|
@ -358,7 +358,9 @@ void PCB_PARSER::parseOutlinePoints( SHAPE_LINE_CHAIN& aPoly )
|
|||
SHAPE_ARC arc( arc_start, arc_mid, arc_end, 0 );
|
||||
|
||||
aPoly.Append( arc );
|
||||
NeedRIGHT();
|
||||
|
||||
if( token != T_RIGHT )
|
||||
Expecting( T_RIGHT );
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue