LearnLib / automatalib

A free, open-source Java library for modeling automata, graphs, and transition systems
http://automatalib.net
Apache License 2.0
92 stars 34 forks source link

M3CParser fails when ID is a formula token #70

Closed mtf90 closed 8 months ago

mtf90 commented 8 months ago

Describe the bug When calling M3CParser#parse with a formula that uses a token as a symbol identifier, the parser fails with a net.automatalib.modelchecker.m3c.formula.parser.ParseException.

To Reproduce Parsing any formula that uses a token as an ID, e.g.,

Expected behavior Formula should be parsed without any issues an actually interpret the token as a valid action label.

Desktop (please complete the following information):