Commit fc454eea authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Remove debug print

parent 397d1ccb
......@@ -1899,10 +1899,8 @@ def _assign_expression(expr):
strings.append(u"{lvar}.Data(1..{rvar}'Length) := {rvar};"
.format(lvar=left_str, rvar=right_str))
elif isinstance(expr.right, ogAST.ExprAppend):
print '[ADA BACKEND] ', expr.right.inputString
basic_right = find_basic_type(expr.right.exprType)
rlen = append_size(expr.right)
print rlen
strings.append(u"{lvar}.Data(1..{lstr}) := {rvar};"
......@@ -712,7 +712,7 @@ def fix_append_expression_type(expr, expected_type):
expr: the append expression (possibly recursive)
expected_type : the type to assign to the expression
print "[DEBUG] Fix append expression: ", expr.inputString
#print "[DEBUG] Fix append expression: ", expr.inputString
def rec_append(inner_expr, set_type):
for each in (inner_expr.left, inner_expr.right):
if isinstance(each, ogAST.ExprAppend):
......@@ -724,7 +724,7 @@ def fix_append_expression_type(expr, expected_type):
rec_append(expr, expected_type)
expr.exprType = expected_type
expr.expected_type = expected_type
print expr.exprType
#print expr.exprType
def check_type_compatibility(primary, type_ref, context): # type: -> [warnings]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment