Hi,

today I've been dusting my SDC fork and implemented a rudimentary version of pragma(msg).

I could pragmaStatement

as in void f()
{
   pragma(msg, typeof(f));
}

but not a declaration as in
pragma(msg, typeof(f))
without a function body.

there is a StaticAssert is in the grammar under declaration, pragma is not.

Maybe it's stated differently?

Any help is appreciated.

Cheers,

Stefan

Reply via email to