From 9b5de590a16fe831d4719493d78fbeabf3ba67b1 Mon Sep 17 00:00:00 2001 From: ldy Date: Wed, 30 Jul 2025 06:21:16 +0000 Subject: [PATCH] =?UTF-8?q?bison=E5=88=87=E6=8D=A2=E6=96=B0=E6=8C=87?= =?UTF-8?q?=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ldy --- services/script/script_interpreter/script_yacc.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/script/script_interpreter/script_yacc.y b/services/script/script_interpreter/script_yacc.y index bcc396f1..0cd73e84 100644 --- a/services/script/script_interpreter/script_yacc.y +++ b/services/script/script_interpreter/script_yacc.y @@ -20,7 +20,7 @@ %require "3.0.4" %define api.namespace {Uscript} //声明命名空间与下面声明的类名结合使用 Uscript::Parser:: 在scanner.l中有体现 -%define parser_class_name { Parser } +%define api.parser.class { Parser } %define api.token.constructor %define api.value.type variant //使得类型与token定义可以使用各种复杂的结构与类型 %defines //生成各种头文件 location.hh position.hh parser.hpp -- Gitee