Skip to content

Parsing error "Expecting...TRUE..." advice is confusing #91

@billredmann

Description

@billredmann

A parsing error occurs if I use uppercase boolean constants (i.e., TRUE, FALSE). However, the "expecting" advice given appears to suggest that uppercase is the correct form. Of course, only all lowercase works (i.e., true, false). I'm sure the expecting advice is generated from the collection of appropriate syntax token names and not the constant strings themselves, but it's still confusing.

image

Perhaps this is noted in the "common errors" portion of the JLINT.com page? (Then again, maybe I'm the only one tripping over this.)

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