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:
jean-pierre charras 2017-02-25 10:10:43 +01:00
parent e6de99cc86
commit 94bef6abd2
1 changed files with 1 additions and 1 deletions

View File

@ -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();