From 8b717895eb65bea2faeae30221fb90d76d3962db Mon Sep 17 00:00:00 2001 From: "Jurgen J. Vinju" Date: Mon, 17 Jun 2024 12:33:47 +0200 Subject: [PATCH] ignored unused var --- pom.xml | 2 +- src/lang/flybytes/demo/pico/Compiler.rsc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 37cbced..ba25e6d 100644 --- a/pom.xml +++ b/pom.xml @@ -36,7 +36,7 @@ org.rascalmpl rascal-maven-plugin - 0.23.0 + 0.26.3-BOOT1 true ${project.build.outputDirectory} diff --git a/src/lang/flybytes/demo/pico/Compiler.rsc b/src/lang/flybytes/demo/pico/Compiler.rsc index 06d7f99..bb7e249 100644 --- a/src/lang/flybytes/demo/pico/Compiler.rsc +++ b/src/lang/flybytes/demo/pico/Compiler.rsc @@ -68,7 +68,7 @@ Stat stat(s:(Statement) 'else ' <{Statement ";"}* elsePart> 'fi`) - = \if(ne(expr(cond), iconst(0)), stats(thenPart), stats(elsePart)) when /Id x := thenPart; + = \if(ne(expr(cond), iconst(0)), stats(thenPart), stats(elsePart)) when /Id _ := thenPart; Stat stat(s:(Statement) `while do