Skip to content

<% Digraph not recognized #2462

@nunoplopes

Description

@nunoplopes
Bugzilla Link 2090
Resolution FIXED
Resolved on Mar 12, 2010 00:57
Version unspecified
OS All

Extended Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaclang:frontendLanguage frontend issues, e.g. anything involving "Sema"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions