[Bug 205] New: Add pragma(inline) to the grammar

via D.gnu d.gnu at puremagic.com
Thu Dec 31 08:07:34 PST 2015


http://bugzilla.gdcproject.org/show_bug.cgi?id=205

            Bug ID: 205
           Summary: Add pragma(inline) to the grammar
           Product: GDC
           Version: development
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: gdc
          Assignee: ibuclaw at gdcproject.org
          Reporter: thomas.bockman at gmail.com

It would be very helpful if `pragma(inline)` in its various forms was added to
GDC's grammar, even if it doesn't actually do anything.

Currently, even with -fignore-unknown-pragmas, GDC will choke on
    pragma(inline, true):
Or
    pragma(inline, true) {
    }

I have not found a practical way to work around this with `version` or `static
if`. It's making it hard to maintain a single code base that compiles on GDC,
LDC, and DMD without modifications.

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20151231/ff494c29/attachment.html>


More information about the D.gnu mailing list