Handle underscore in parameter names.

Fixes https://gitlab.com/kicad/code/kicad/issues/14308

(cherry picked from commit 222cd4d009)
This commit is contained in:
Jeff Young 2023-03-16 23:40:20 +00:00
parent 69e9f4ada2
commit 64641c28ef
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 '"'.