After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 735478 - Dead code in VhdlParser.h
Dead code in VhdlParser.h
Status: RESOLVED WONTFIX
Product: doxygen
Classification: Other
Component: general
1.8.8-GIT
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2014-08-26 20:02 UTC by Ettl Martin
Modified: 2014-08-30 19:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ettl Martin 2014-08-26 20:02:41 UTC
Is there a reason why the VhdlParser.h file contains structurally dead code?

Here is an example:

 inline bool jj_2_91(int xla)
 {
    jj_la = xla; jj_lastpos = jj_scanpos = token;
    jj_done = false;
    return !jj_3_91() || jj_done;  // <--- the function returns here
 { jj_save(90, xla); }             // <--- dead code
  }

If there is a reason (i do not understand so far), feel free to close this ticket.

Best regards and many thanks

Martin Ettl
Comment 1 Dimitri van Heesch 2014-08-30 19:35:32 UTC
The file is generated by JavaCC, so I don't know if it is a bug in JavaCC's code generation or just non-optimal sloppy code generation.