From 94bef6abd29fc4c603da107eef00fa781161ca76 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sat, 25 Feb 2017 10:10:43 +0100 Subject: [PATCH] Pcbnew: files written when layers have numeric name (like +24)cannot be read Fixes: lp:1667867 https://bugs.launchpad.net/kicad/+bug/1667867 --- pcbnew/pcb_parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/pcb_parser.cpp b/pcbnew/pcb_parser.cpp index 744bc73987..d8e5e1c8cd 100644 --- a/pcbnew/pcb_parser.cpp +++ b/pcbnew/pcb_parser.cpp @@ -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();