[LLVMbugs] [Bug 2090] New: Digraph punctuation tokens not recognized

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Feb 24 08:14:13 PST 2008


http://llvm.org/bugs/show_bug.cgi?id=2090

           Summary: Digraph punctuation tokens not recognized
           Product: clang
           Version: unspecified
          Platform: PC
               URL: http://david.tribble.com/text/cdiffs.htm
        OS/Version: All
            Status: NEW
          Keywords: missing-feature
          Severity: enhancement
          Priority: P2
         Component: parser
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nunoplopes at sapo.pt
                CC: llvmbugs at cs.uiuc.edu


C++ and C99 accept the following weird syntax (which clang doesn't support):

%:include <stdio.h>

    %:ifndef BUFSIZE
     %:define BUFSIZE  512
    %:endif

    void copy(char d<::>, const char s<::>, int len)
    <%
        while (len-- >= 0)
        <%
            d<:len:> = s<:len:>;
        %>
    %>

C99: §6.4.6
C++98: §2.5, 2.12


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list