Skip to content

Commit c112143

Browse files
authored
Merge pull request #708 from viperproject/meilers_let_parse_fix
Fixing let parsing
2 parents c352aa5 + ce19fa7 commit c112143

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/scala/viper/silver/parser/FastParser.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -975,7 +975,7 @@ class FastParser {
975975
FP("perm" ~ parens(resAcc)).map{ case (pos, r) => PCurPerm(r)(pos)})
976976

977977
def let[$: P]: P[PExp] =
978-
FP("let" ~/ FP(idndef) ~ "==" ~ "(" ~ exp ~ ")" ~ "in" ~ FP(exp)).map {
978+
FP("let" ~ FP(idndef) ~ "==" ~/ "(" ~ exp ~ ")" ~ "in" ~ FP(exp)).map {
979979
case (pos, (idpos, id, exp1, (e2pos, exp2))) =>
980980
/* Type unresolvedType is expected to be replaced with the type of exp1
981981
* after the latter has been resolved

0 commit comments

Comments
 (0)