Tom Copeland

Show:

What's happening?

  • Comment: Failed parsing byte[].class.hashCode()

    What if we change CastLookahead like this? ======== void CastLookahead(): {} { LOOKAHEAD(3) "(" PrimitiveType() ")" | LOOKAHEAD("(" Type() "[") "(" Type() "[" "]" | "(" Type() ")" ( "~" | "!" | "(" | | "this" | "super" | "new" | Literal() ) } ======== That seems to work for both cases, and a scan of the JDK didn't turn up anything... can you try...

    2009-09-29 16:06:33 UTC in PMD

  • Comment: Failed parsing byte[].class.hashCode()

    Hm, I think the problem is in the cast lookahead. I think that production should be: =========== void CastLookahead(): {} { LOOKAHEAD("(" Type() "[" "]" ")") "(" Type() "[" "]" | "(" Type() ")" ( "~" | "!" | "(" | | "this" | "super" | "new" | Literal() ) } =========== With that change I'm able to successfully parse a test file and also all the PMD source code...

    2009-05-13 12:46:03 UTC in PMD

  • Followup: RE: Source code for JavaCC

    Hi John - The JavaCC Eclipse plugin uses Runtime.exec to interact with JavaCC, so different plugin versions can use a variety of different JavaCC versions depending on the options that are passed to JavaCC. Or are you asking about matching up plugin release numbers (e.g., 1.5.12, 1.5.13) with Eclipse release numbers? Yours, Tom http://generatingparserswithjavacc.com/.

    2009-05-12 20:10:38 UTC in JavaCC Eclipse Plugin

  • Followup: RE: Problems with Ganymede on Mac OSX

    FWIW, I had the same problem and rebuilt the plugin; you can get more details and can also download the plugin.jar file that I built here: http://tomcopeland.blogs.com/juniordeveloper/2009/04/the-eclipse-javacc-plugin-and-mac-os-x.html Yours, Tom http://generatingparserswithjavacc.com/.

    2009-04-01 13:50:33 UTC in JavaCC Eclipse Plugin

  • PMD

    tomcopeland committed revision 6432 to the PMD SVN repository, changing 1 files.

    2008-09-02 13:09:44 UTC in PMD

  • PMD

    tomcopeland committed revision 6331 to the PMD SVN repository, changing 1 files.

    2008-07-18 12:32:26 UTC in PMD

  • PMD

    tomcopeland committed revision 6320 to the PMD SVN repository, changing 1 files.

    2008-07-02 04:16:32 UTC in PMD

  • PMD

    tomcopeland committed revision 6309 to the PMD SVN repository, changing 1 files.

    2008-07-01 13:49:53 UTC in PMD

  • PMD

    tomcopeland committed revision 6127 to the PMD SVN repository, changing 1 files.

    2008-05-20 14:27:04 UTC in PMD

  • PMD: JDeveloper plugin updated

    PMD is a Java source code analyzer. It finds unused variables, empty catch blocks, unnecessary object creation, and so forth. Thanks to Torsten Kleiber, the JDeveloper plugin has been updated! It now includes PMD version 4.2 and the import/export feature is available for JDev 10.1.3. You can get it here: http://sourceforge.net/project/showfiles.php?group_id=56262&package_id=75287.

    2008-04-23 13:55:32 UTC in PMD