Details
Description
While messing around with QDox, I noticed a few parse errors that I only explain by the fact the files use MACintosh line endings.
Here's a sample file that goes "syntax error @[44,1]"
http://cvs.sourceforge.net/viewcvs.py/xdoclet-plugins/xdoclet-plugins/plugin-beaninfo/src/test/java/org/xdoclet/plugin/beaninfo/BeanInfoPluginTestCase.java
As Mike Williams said, it looks like there's no handling for MAC line-ends in the Lexer.
Activity
Mike Williams
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Mike Williams [ mdub ] |
Mike Williams
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Fix Version/s | 1.4 [ 10304 ] | |
Resolution | Fixed [ 1 ] |
Mike Williams
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
I was incorrect about the QDox lexer not supporting Mac line-terminators (sorry Joe, if you're listening).
Regrettably, this is starting to look like a bug in JFlex. It appears to be triggered by the presence of the "%line" option in the JFlex input file. We added this recently to support location info for DocletTags.