Handle underscore in parameter names.
Fixes https://gitlab.com/kicad/code/kicad/issues/14308
(cherry picked from commit 222cd4d009
)
This commit is contained in:
parent
69e9f4ada2
commit
64641c28ef
|
@ -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