From 9552e02727a35c45d26e1f4a93d65aef410ad038 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Wed, 6 Jun 2018 01:59:56 +0100 Subject: [PATCH] Handle description when reading netlist. --- pcbnew/kicad_netlist_reader.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pcbnew/kicad_netlist_reader.cpp b/pcbnew/kicad_netlist_reader.cpp index 6ff7f6beba..018cef2cdc 100644 --- a/pcbnew/kicad_netlist_reader.cpp +++ b/pcbnew/kicad_netlist_reader.cpp @@ -335,9 +335,14 @@ void KICAD_NETLIST_PARSER::parseComponent() name = FROM_UTF8( CurText() ); NeedRIGHT(); } + else if( token == T_description ) + { + NeedSYMBOLorNUMBER(); + NeedRIGHT(); + } else { - Expecting( "part or lib" ); + Expecting( "part, lib or description" ); } } break;