mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-31 01:54:59 +02:00
WIP: keyword arguments for expressions
This commit is contained in:
@@ -436,7 +436,7 @@ public:
|
||||
// .. nothing yet ..
|
||||
}
|
||||
|
||||
void execute (const tl::ExpressionParserContext &context, tl::Variant &out, const std::vector <tl::Variant> &vv) const
|
||||
void execute (const tl::ExpressionParserContext &context, tl::Variant &out, const std::vector <tl::Variant> &vv, const std::map<std::string, tl::Variant> * /*kwargs*/) const
|
||||
{
|
||||
if (vv.size () != 0) {
|
||||
throw tl::EvalError (tl::to_string (tr ("Layer source function must not have arguments")), context);
|
||||
|
||||
Reference in New Issue
Block a user