Tighter control over braced-expression list separators.

This commit is contained in:
Jeff Young 2024-05-13 21:19:23 +01:00
parent 8bb807f170
commit 2921d47fb3
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ namespace SPICE_GRAMMAR
// 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<list<bracedExpr, sep>,
struct paramValue : sor<list<bracedExpr, opt<one<' '>>>,
vectorExpr,
token> {};