Skip to content

Unexpected character warning #6

Description

@Kojoley

I am trying to fix Spirit docs https://github.com/boostorg/spirit/blob/develop/doc/lex/lexer.qbk#L34, but having troubles with bogus warning or broken escaping.

Given:

    [[`"[xyz]\"foo"`]  [The literal string `[xyz]"foo`]]

Renders correctly:
image

But generates a warning:

lex/lexer.qbk:34: warning: in column:50, unexpected character: "

Fixing it like this:

    [[`"[xyz]\"foo"`]  [The literal string `[xyz]\"foo`]]

Does not eliminate it:

lex/lexer.qbk:34: warning: in column:51, unexpected character: "

And leads to incorrect rendering:
image

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions