Handle underscore in parameter names.

Fixes https://gitlab.com/kicad/code/kicad/issues/14308
This commit is contained in:
Jeff Young 2023-03-16 23:40:20 +00:00
parent 4bbd9731a1
commit 222cd4d009
1 changed files with 1 additions and 1 deletions

View File

@ -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 '"'.