summaryrefslogtreecommitdiffstats
path: root/src/grammar/NumericScalarExpr.java
diff options
context:
space:
mode:
authorAndrei Aiordachioaie <a.aiordachioaie@jacobs-university.de>2009-08-05 19:28:08 +0200
committerAndrei Aiordachioaie <a.aiordachioaie@jacobs-university.de>2009-08-07 10:19:35 +0200
commitabec5292c46eb2a41a53bf9b8db35017acd5daec (patch)
tree8b3ecbca3a2350142057b7ecd29a06afe6712ea7 /src/grammar/NumericScalarExpr.java
parent6cc76f99f40b4c92458e600db518f64d7ca1632b (diff)
Fixed definition of numbers in abstract syntax parser
Diffstat (limited to 'src/grammar/NumericScalarExpr.java')
-rw-r--r--src/grammar/NumericScalarExpr.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/grammar/NumericScalarExpr.java b/src/grammar/NumericScalarExpr.java
index 3d29a62..0bf2d63 100644
--- a/src/grammar/NumericScalarExpr.java
+++ b/src/grammar/NumericScalarExpr.java
@@ -119,6 +119,10 @@ public class NumericScalarExpr implements IParseTreeNode
{
return constValue;
}
+ if (function.equals("condense"))
+ {
+ return condense.toXML();
+ }
result = "<" + function + ">";
@@ -126,7 +130,7 @@ public class NumericScalarExpr implements IParseTreeNode
{
result += constValue;
}
- else
+ else
{
result += leftNumericScalarExpr.toXML();