Pcbnew: files written when layers have numeric name (like +24)cannot be read
Fixes: lp:1667867 https://bugs.launchpad.net/kicad/+bug/1667867
This commit is contained in:
parent
e6de99cc86
commit
94bef6abd2
|
@ -783,7 +783,7 @@ void PCB_PARSER::parseLayer( LAYER* aLayer ) throw( IO_ERROR, PARSE_ERROR )
|
|||
// this layer_num is not used, we DO depend on LAYER_T however.
|
||||
LAYER_NUM layer_num = parseInt( "layer index" );
|
||||
|
||||
NeedSYMBOL();
|
||||
NeedSYMBOLorNUMBER();
|
||||
name = CurText();
|
||||
|
||||
NeedSYMBOL();
|
||||
|
|
Loading…
Reference in New Issue