From 80fce6040a57b3ac5608517f40e3c5bed7d0745c Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Thu, 20 May 2010 12:36:28 +0000 Subject: [PATCH] reduce unsupported attributes from error to a warning [r27563] --- scripts/gen_ir_io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gen_ir_io.py b/scripts/gen_ir_io.py index acf29fbaf..c177f39e1 100755 --- a/scripts/gen_ir_io.py +++ b/scripts/gen_ir_io.py @@ -95,7 +95,7 @@ def get_io_type(type, attrname, node): importcmd = "long %s = read_long(env);" % attrname exportcmd = """fprintf(env->file, "%%ld ", %(val)s);""" else: - error("cannot generate import/export for node %s: unsupported attribute type: %s" % (node.name, type)) + warning("cannot generate import/export for node %s: unsupported attribute type: %s" % (node.name, type)) importcmd = """// BAD: %s %s %s %s = (%s) 0;""" % (type, attrname, type, attrname, type) exportcmd = "// BAD: %s" % type -- 2.20.1