Skip to content

Front-end can't handle character literals #2

@elazarg

Description

@elazarg

For example, handling the literal '*' results in

Exception in thread "main" java.lang.RuntimeException: I don't know how to handle const of type: ??? @ '*'
at ccomp.parser_hw.CCompiler.getConstant_(CCompiler.java:1895)
at ccomp.parser_hw.CCompiler.getConstant(CCompiler.java:1799)
at ccomp.parser_hw.CCompiler.getExpr(CCompiler.java:757)
at ccomp.parser_hw.CCompiler.getExpr(CCompiler.java:733)

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