Skip to content

Commit

Permalink
fix re read mse with '-' as package name
Browse files Browse the repository at this point in the history
  • Loading branch information
badetitou committed Dec 8, 2020
1 parent 839b859 commit 3f4ca0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch/akuhn/fame/parser/Scanner.java
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ private Token nameOrSomethingLikeThat() {
in.mark();
while (true) {
this.letterExpected();
while (isLetterOrDigit(in.peek()))
while (isLetterOrDigit(in.peek()) || in.peek() == '-')
in.inc();
char ch = in.peek();
if (ch == ':')
Expand Down

0 comments on commit 3f4ca0b

Please sign in to comment.