catseye  committed 424cb9c

Dump error messages to stderr, not stdout.

  • Participants
  • Parent commits 1febd24

Comments (0)

Files changed (2)

File README.markdown

     yucca program.bas
 Python's `fileinput` module is used, so the BASIC source can also be piped
-into `yucca`, and so forth.
+into `yucca`, and so forth.  Error messages are printed on the standard error
 By default, `yucca` checks that each line number in the program source is
 given in strictly ascending order.  Some tokenizers (e.g. `petcat`) will
         errors += p.check_line_numbers()
     if len(errors) > 0:
         for error in errors:
-            print error
+            sys.stderr.write("%s\n" % error)
     if options.dump_output: