diff options
Diffstat (limited to 'Framework/hu.bme.mit.inf.dslreasoner.logic.model/src/hu/bme/mit/inf/dslreasoner')
-rw-r--r-- | Framework/hu.bme.mit.inf.dslreasoner.logic.model/src/hu/bme/mit/inf/dslreasoner/logic/model/builder/LogicProblemBuilder.xtend | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/src/hu/bme/mit/inf/dslreasoner/logic/model/builder/LogicProblemBuilder.xtend b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/src/hu/bme/mit/inf/dslreasoner/logic/model/builder/LogicProblemBuilder.xtend index 652db34c..6fa1fcfd 100644 --- a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/src/hu/bme/mit/inf/dslreasoner/logic/model/builder/LogicProblemBuilder.xtend +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/src/hu/bme/mit/inf/dslreasoner/logic/model/builder/LogicProblemBuilder.xtend | |||
@@ -61,7 +61,8 @@ public class LogicProblemBuilder{ | |||
61 | val element = result.get(0); | 61 | val element = result.get(0); |
62 | if(element == "bool" || | 62 | if(element == "bool" || |
63 | element == "int" || | 63 | element == "int" || |
64 | element == "real") throw new LogicProblemBuilderException('''Reserved keyword "«element»"!''') | 64 | element == "real" || |
65 | element == "string") throw new LogicProblemBuilderException('''Reserved keyword "«element»"!''') | ||
65 | else return result.join(' ') | 66 | else return result.join(' ') |
66 | } | 67 | } |
67 | else return result.join(' ') | 68 | else return result.join(' ') |