diff --git a/eeschema/sim/spice_grammar.h b/eeschema/sim/spice_grammar.h index 2a531cacb1..e0f32f3a5f 100644 --- a/eeschema/sim/spice_grammar.h +++ b/eeschema/sim/spice_grammar.h @@ -156,6 +156,17 @@ namespace SPICE_GRAMMAR opt, newline>> {}; + struct dotModelCPL : seq, + if_must, + opt, + opt, + newline>> {}; + struct dotModel : seq, if_must, newline>> {}; - struct dotModelCPL : seq, - if_must, - opt, - newline>> {}; - - - struct dotSubcktParamValuePair : seq`s match Ngspice's // behavior. @@ -216,6 +214,7 @@ namespace SPICE_GRAMMAR struct modelUnit : seq, sor> {}; @@ -305,7 +304,9 @@ namespace SPICE_GRAMMAR ""; template <> inline constexpr auto errorMessage> = ""; - template <> inline constexpr auto errorMessage> = + template <> inline constexpr auto errorMessage> = + ""; + template <> inline constexpr auto errorMessage> = ""; template <> inline constexpr auto errorMessage> = "";