Stops parsing after Perl string operators
Multi-language source code documentation tool
Brought to you by:
gregvalure
Natural Docs stops parsing the file after the first q() string, unless there is some explicit comment. Example:
my $var1;
my $text = q(
text
text
);
my $var2;
...
$var1 and $text gets parsed, but $var2 and the rest of the file (any variables or subs) don't.
If I cut and paste that snippet into a .pl file I get all three variables. Are you using 1.4? If so the bug is more specific than just q() quotes and I'll need a better test case.
Sure!
Yes, I'm using 1.4. Just try to parse "parser.pm" from here:
http://github.com/Uiomae/rdbteach/tree/master
...but you'll need to remove the groups and the hand-made comments to get the errors.