[Gd-chatter] [Bug 7340] New: d2c siletly uses macro name instead of specified match pattern

bugzilla-daemon at gwydiondylan.org bugzilla-daemon at gwydiondylan.org
Fri Dec 29 10:00:39 CET 2006


http://www.gwydiondylan.org/cgi-bin/bugzilla/show_bug.cgi?id=7340

           Summary: d2c siletly uses macro name instead of specified match
                    pattern
           Product: compiler
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: parser
        AssignedTo: andreas at andreas.org
        ReportedBy: luc at server.by
                CC: gd-chatter at gwydiondylan.org


d2c siletly uses macro name instead of specified match pattern. This is
example:

module: macro-bug
use-libraries: common-dylan, io, transcendental
use-modules: common-dylan, format-out, transcendental


define macro indent
  { xxyyzz(?:variable) ?:body end }
    => {
        ?variable := ?variable + 1;
        ?body;
        ?variable := ?variable - 1
       }
end macro;

let a = 0;
indent(a)
  format-out("%=\n", a);
end;


-- 
Configure bugmail: http://www.gwydiondylan.org/cgi-bin/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the chatter mailing list