WIP - fix up parsing + generalise to the pcb

This commit is contained in:
Roberto Fernandez Bautista 2022-06-23 23:30:11 +01:00 committed by Jeff Young
parent 3cd867e656
commit 5d90f3f54f
2 changed files with 2 additions and 1 deletions

View File

@ -149,6 +149,7 @@ height
hide
hole_to_hole_min
host
href
id
image
island

View File

@ -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 `~{...}`.