Allow .ends to be preceeded by whitespace.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16560
(cherry picked from commit b934914c59
)
This commit is contained in:
parent
a499bc9f66
commit
d45769e508
|
@ -176,7 +176,8 @@ namespace SPICE_GRAMMAR
|
|||
struct dotSubcktPinName : seq<not_at<dotSubcktParams>,
|
||||
plus<not_at<space>, any>> {};
|
||||
struct dotSubcktPinSequence : list<dotSubcktPinName, sep> {};
|
||||
struct dotSubcktEnd : seq<TAO_PEGTL_ISTRING( ".ends" ),
|
||||
struct dotSubcktEnd : seq<opt<sep>,
|
||||
TAO_PEGTL_ISTRING( ".ends" ),
|
||||
until<newline>> {};
|
||||
struct spiceUnit;
|
||||
struct dotSubckt : seq<opt<sep>,
|
||||
|
|
Loading…
Reference in New Issue