diff --git a/eeschema/sim/spice_grammar.h b/eeschema/sim/spice_grammar.h index 5b388a4c57..58ca607ba1 100644 --- a/eeschema/sim/spice_grammar.h +++ b/eeschema/sim/spice_grammar.h @@ -122,11 +122,12 @@ namespace SPICE_GRAMMAR // Param names cannot be `token` because LTspice models contain spurious values without // parameter names, which we need to skip, and because tokens can include a very limited // subset of un-braced expressions - // Note: we must support lists of both braced expressions and tokens for CPL models. + // Note: we must support lists of both braced expressions and tokens for CPL models... + // ... but lists of tokens breaks cases where we have single-token name/values. struct param : identifier {}; struct paramValue : sor, vectorExpr, - list> {}; + token> {}; struct paramValuePair : seq