WIP - fix up parsing + generalise to the pcb
This commit is contained in:
parent
3cd867e656
commit
5d90f3f54f
|
@ -149,6 +149,7 @@ height
|
||||||
hide
|
hide
|
||||||
hole_to_hole_min
|
hole_to_hole_min
|
||||||
host
|
host
|
||||||
|
href
|
||||||
id
|
id
|
||||||
image
|
image
|
||||||
island
|
island
|
||||||
|
|
|
@ -524,7 +524,7 @@ void SCH_SEXPR_PARSER::parseFill( FILL_PARAMS& aFill )
|
||||||
|
|
||||||
void SCH_SEXPR_PARSER::parseEDA_TEXT( EDA_TEXT* aText, bool aConvertOverbarSyntax )
|
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." );
|
"Cannot parse " + GetTokenString( CurTok() ) + " as an EDA_TEXT." );
|
||||||
|
|
||||||
// In version 20210606 the notation for overbars was changed from `~...~` to `~{...}`.
|
// In version 20210606 the notation for overbars was changed from `~...~` to `~{...}`.
|
||||||
|
|
Loading…
Reference in New Issue