diff --git a/common/pcb.keywords b/common/pcb.keywords index 627c91cdd8..0823e50a87 100644 --- a/common/pcb.keywords +++ b/common/pcb.keywords @@ -149,6 +149,7 @@ height hide hole_to_hole_min host +href id image island diff --git a/eeschema/sch_plugins/kicad/sch_sexpr_parser.cpp b/eeschema/sch_plugins/kicad/sch_sexpr_parser.cpp index db8c1a7a26..70bf6aa24d 100644 --- a/eeschema/sch_plugins/kicad/sch_sexpr_parser.cpp +++ b/eeschema/sch_plugins/kicad/sch_sexpr_parser.cpp @@ -524,7 +524,7 @@ void SCH_SEXPR_PARSER::parseFill( FILL_PARAMS& aFill ) void SCH_SEXPR_PARSER::parseEDA_TEXT( EDA_TEXT* aText, bool aConvertOverbarSyntax ) { - wxCHECK_RET( aText && CurTok() == T_effects, + wxCHECK_RET( aText && CurTok() == T_effects || CurTok() == T_href, "Cannot parse " + GetTokenString( CurTok() ) + " as an EDA_TEXT." ); // In version 20210606 the notation for overbars was changed from `~...~` to `~{...}`.