From 3b2e13a8191b207b4239f8ba29b1deb3f72a868f Mon Sep 17 00:00:00 2001 From: Anders Nilsson <anders.nilsson@cs.lth.se> Date: Mon, 14 Jul 2008 17:56:35 +0200 Subject: [PATCH] Fixed bug(?) --- CompilerGeneration.jrag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CompilerGeneration.jrag b/CompilerGeneration.jrag index 928375d..962191f 100644 --- a/CompilerGeneration.jrag +++ b/CompilerGeneration.jrag @@ -348,7 +348,7 @@ aspect GenRewrites { // Rearrange device nodes on the AST to get away from the // current diagonal style from Protege pStream.println(ind(1)+"rewrite "+name()+" {"); - pStream.println(ind(2)+"when (!isTopElement() && getAttribute(0) instanceof RdfId)"); + pStream.println(ind(2)+"when (!isTopElement() && !(getAttribute(0) instanceof RdfId))"); pStream.println(ind(2)+"to ClassUse {"); pStream.println(ind(3)+"ClassUse use = new ClassUse();"); pStream.println(ind(3)+"use.setOwlIdentifier(new OwlIdentifier(\""+name()+"\"));"); -- GitLab