mirror of
https://github.com/myhdl/myhdl.git
synced 2025-01-24 21:52:56 +08:00
print with more than one argument does not raise an error anymore but creates a warning.
This commit is contained in:
parent
4c54ab4b1e
commit
4ec1283f1a
@ -272,7 +272,7 @@ class _NotSupportedVisitor(_ConversionMixin):
|
||||
|
||||
def visitPrintnl(self, node, *args):
|
||||
if len(node.nodes) > 1:
|
||||
warnings.warn("print with more than one argument: %s"%node)
|
||||
warnings.warn("print with more than one argument not supported: %s"%node)
|
||||
if node.dest is not None:
|
||||
self.raiseError(node, _error.NotSupported, "printing to a file with >> syntax")
|
||||
self.visitChildNodes(node, *args)
|
||||
|
Loading…
x
Reference in New Issue
Block a user