Skip to content

Logos fails to parse code with curly braces inside of character literals #97

@iCrazeiOS

Description

@iCrazeiOS

What are the steps to reproduce this issue?

  1. Write example code
    example code in a logos file
  2. Compile project

What happens?

  • " error: fell off the face of the planet when we found a '}' "

What were you expecting to happen?

  • No error output by logos

Any other comments?

  • I've also been able to achieve a similar preprocessing error when using '{' rather than '}', however I cannot figure out how. Simply swapping it in the example code does not throw any error.

What versions of software are you using?

Operating System:

  • Latest build of macOS Monterey
  • Ubuntu 20.04 (WSL2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions