Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Alias (5735)

  (email not shown publicly)

Journal of Alias (5735)

Thursday April 28, 2005
05:02 AM

PPI 0.906: -location support completed

[ #24419 ]

Finally got the time to take a proper look at ->location (literal line/column location in serialized version) support today.

The existing code looks like it was written on crack. Cleaned it all up, and wrote a proper unit test script this time. Coverage isn't perfect, but good enough that I'm pretty sure there arn't any bugs in it any more.

While doing this I encountered another problem... tab widths. CRAP! So I've added ->tab_width support to Document objects. For now it only supports "naive" tabs, which I take to mean tabs with a width of one column. But the API is set up so that in future we can support both artibtrarily set tab widths, default widths, and auto-sensing tab widths based on vi/emacs/whatever codes.

This also should mean that now we can knock up a GUI frontend for something like a Perl::Gotchas module, and have the front end highlight problems in code. (i.e. know WHERE to do the highlighting).

All sorts of other error messages should now work properly.

hmm... it also looks like isn't escaping the topic?

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.