llcppsigfetch:variadic param

This commit is contained in:
luoliwoshang
2024-08-27 16:18:29 +08:00
parent e57ee17532
commit 0ac48369fe
6 changed files with 115 additions and 34 deletions

View File

@@ -148,6 +148,7 @@ func MarshalASTExpr(t ast.Expr) *cjson.JSON {
names.AddItem(MarshalASTExpr(n))
}
root.SetItem(c.Str("Names"), names)
case *ast.Variadic:
case *ast.Ident:
if d == nil {
return cjson.Null()