Skip to content

Whitespace forwarding weirdness #3

Description

@Rush

I am generating some type definitions in C++ and it seems that whitespace before <%parameter.type%> arg<%=i%> is not forwarded until some other character appears there. ;<%parameter.type%> arg<%=i%> would forward the whitespace but obviously I would like to change this behaviour. Is that a bug?

  <%func.parameters.forEach(function(parameter, i) {%>
    <%parameter.type%> arg<%=i%> = getArgument<<%=parameter.type%>>(args[<%=i%>]);
  <%}); %>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions