Handle underscore in parameter names.
Fixes https://gitlab.com/kicad/code/kicad/issues/14308
This commit is contained in:
parent
4bbd9731a1
commit
222cd4d009
|
@ -54,7 +54,7 @@ namespace SIM_MODEL_SERIALIZER_GRAMMAR
|
|||
opt<sep>,
|
||||
tao::pegtl::eof> {};
|
||||
|
||||
struct param : plus<alnum> {};
|
||||
struct param : identifier {};
|
||||
|
||||
struct unquotedString : plus<not_at<sep>, any> {};
|
||||
struct quotedStringContent : star<not_at<one<'"'>>, any> {}; // TODO: Allow escaping '"'.
|
||||
|
|
Loading…
Reference in New Issue