From 64641c28ef686b9f14b0d5772b0d2f8fe066fc80 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Thu, 16 Mar 2023 23:40:20 +0000 Subject: [PATCH] Handle underscore in parameter names. Fixes https://gitlab.com/kicad/code/kicad/issues/14308 (cherry picked from commit 222cd4d009d200d0a4c21213c188f5037e4a59a2) --- eeschema/sim/sim_model_serializer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/sim/sim_model_serializer.h b/eeschema/sim/sim_model_serializer.h index 0bc0f23f53..f79e0411ec 100644 --- a/eeschema/sim/sim_model_serializer.h +++ b/eeschema/sim/sim_model_serializer.h @@ -54,7 +54,7 @@ namespace SIM_MODEL_SERIALIZER_GRAMMAR opt, tao::pegtl::eof> {}; - struct param : plus {}; + struct param : identifier {}; struct unquotedString : plus, any> {}; struct quotedStringContent : star>, any> {}; // TODO: Allow escaping '"'.