chipsalliance / fasm

FPGA Assembly (FASM) Parser and Generator
https://fasm.readthedocs.io
Apache License 2.0
90 stars 30 forks source link

parser: use a simple print instead of a warn #70

Closed acomodi closed 3 years ago

acomodi commented 3 years ago

Signed-off-by: Alessandro Comodi acomodi@antmicro.com

The warn function's output doesn't seem to be able to be redirected to a log file and is output on console despite redirection.

This PR changes the warn function to a print, so that the warning can be redirected to a log file.

acomodi commented 3 years ago

All right, closing. To suppress (or better redirect) it is actually enough to use &> <where-to-redirect>.