Some calls to internal_exception will include a newline, others will
not. The effect of this is that
when some exceptions occur, parrot will exit without printing a newline,
which is ugly.
The fix I've attached is two-fold. First, it removes any newline passed
to internal_exception. (This was a search and replace, I may have missed
a few). Second, it modifies the the internal_exception function to print
a newline after printing the error.
- James
It looks like I missed a few cases and broken the test suite with this
patch. I will post a new patch shortly.
-James
>------------------------------------------------------------------------
>
>
>
>
In short, this patch:
- removes a newline from an internal_exception() call if it exists.
- modifies internal_exception() to print a newline after the debug message.
- modifies any test script that made use of internal exceptions
- James
> Here is take 2 of the patch.
>
> In short, this patch:
> - removes a newline from an internal_exception() call if it exists.
> - modifies internal_exception() to print a newline after the debug message.
> - modifies any test script that made use of internal exceptions
Thanks, finally applied.
-- c