On Sat, 28 Jan 2023, Markus Elfring wrote: > > @@ > > identifier nested_macros.nm; > > function f; > > identifier dev_priv; > > > How do you think about to use the following SmPL code variant instead of > the metavariable type “function”? > > > identifier dev_priv, f; Good suggestion, Function is not really supported. I think it behaves just like identifier, but it would be better to just use identifier. Function was an idea thta never actually got implemented. julia > > > > > expression e; > > @@ > > f(...) { > > ... > > - struct drm_i915_private *dev_priv = e; > > + struct drm_i915_private *i915 = e; > > > > <+...nm(...)...+> > > } > > Regards, > Markus >