GNOME Bugzilla – Bug 735478
Dead code in VhdlParser.h
Last modified: 2014-08-30 19:35:32 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
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.