Skip to content

sample problems #76

@BINARYGARRY

Description

@BINARYGARRY

Hi, I'm running the sample in antlr tools and getting these comments.
2:9 token recognition error at: '+'
2:10 extraneous input 'foo' expecting ';'

I've made no changes and just clicked the run button. The '+' makes sense to me since it's not in the lexer. It does build the tree but 'foo' is highlighted in the tree and input . Is this meant to be a learning exercise or possibly a bug?

My apologies if this has already been explained.
Thx
Garry

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