We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96c61ea commit f9cf4e7Copy full SHA for f9cf4e7
src/main/scala/viper/silver/parser/MacroExpander.scala
@@ -250,6 +250,8 @@ object MacroExpander {
250
MacroApp(app, Some(app.use.args), getMacroByName(app.use.idnref))
251
252
// Other macro refs (without arguments)
253
+ case idnuse: PIdnUse if getMacroPlain(idnuse).isDefined =>
254
+ MacroApp(idnuse, None, getMacroPlain(idnuse).get)
255
case idnuse: PIdnUseExp if getMacroPlain(idnuse.idnref).isDefined =>
256
MacroApp(idnuse, None, getMacroPlain(idnuse.idnref).get)
257
// Other macro refs (with arguments)
0 commit comments