mtpearce / idyom

http://mtpearce.github.io/idyom/
GNU General Public License v3.0
47 stars 9 forks source link

Use warnings instead of prints in krn parser #36

Closed bjvanderweij closed 3 years ago

bjvanderweij commented 3 years ago

I am using IDyOM's krn parser in a script that creates CSV representations of krn files. Because I am piping the output of this script into a CSV file I want to be able to dissociate printed output from warnings. The warn function writes to stderr while print writes to stdout, so using warn solves this problem. It seems appropriate to use warn anyway, since these really are warnings.

bjvanderweij commented 3 years ago

Wrong branch