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

Fix minor issues

parent 30a63a0a
......@@ -2893,9 +2893,9 @@ def newtype(root, ta_ast, context):
elif (root.getChild(1).type == lexer.ARRAY):
newType = get_array_type(newtypename, root.getChild(1))
USER_DEFINED_TYPES.update({str(newtypename): newType})
except TypeError as err:
USER_DEFINED_TYPES.update({str(newtypename): newType})
LOG.debug("Found new ARRAY type " + newtypename)
elif (root.getChild(1).type == lexer.STRUCT):
newType.kind = "SequenceType"
......@@ -1958,6 +1958,12 @@ class SDL_View(QtGui.QGraphicsView, object):
first_pr = pr_names.pop()
other_pr = ", ".join(pr_names)
print "*** LIST OF ASN1 FILENAMES ***"
print sdlSymbols.AST.asn1_filenames
print "model contains user defined types"
template_gpr_sdl = '''with "dataview_ada";
project {pr} is
for Languages use ("SDL");
......@@ -2042,7 +2048,6 @@ clean:
msg_box = QtGui.QMessageBox(self)
msg_box.setWindowTitle('OpenGEODE - Syntax Error')
msg_box.setText("Syntax errors were found. It is not advised to "
"save the model now, as you may not be able to "
"open it again. Are you sure you want to save?")
Supports Markdown
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