+
Skip to content

#mode preservelf does not seem to work #56

Open
@ptsl

Description

@ptsl

I have the following test file:

#mode preservelf off
#mode user "$" "$" "{" "}{" "}$" "{" "}" "@" "~"
#mode meta "$" "$\w\n" "{" "}{" "}$\w\n" "{" "}"
$define{macro}{xyzzy}$
$macro$

Depending on the value of preservelf, the gpp outputs:

-with preservelf off-

\n
\n
\n
xyzzy\n

-with preservelf on-

\n
\n
\n
\n
xyzzy\n

I'm not sure if this is a bug or an omission on my side, but I'd like gpp to output only a single line (xyzzy\n).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载