Skip to content

Commit 9ebe579

Browse files
committed
Cleanup unused/unwanted parser dependencies on code generator
1 parent 545e7c6 commit 9ebe579

File tree

9 files changed

+6
-7
lines changed

9 files changed

+6
-7
lines changed

src/doxygen.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
#include "portable.h"
8888
#include "vhdljjparser.h"
8989
#include "vhdldocgen.h"
90+
#include "vhdlcode.h"
9091
#include "eclipsehelp.h"
9192
#include "cite.h"
9293
#include "markdown.h"

src/fortrancode.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ class Definition;
2828

2929
void codeFreeScanner();
3030

31-
const int fixedCommentAfter = 72;
3231

3332
class FortranCodeParser : public CodeParserInterface
3433
{

src/fortrancode.l

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@
5555
#include "tooltip.h"
5656
#include "fortrancode.h"
5757

58+
const int fixedCommentAfter = 72;
59+
5860
// Toggle for some debugging info
5961
//#define DBG_CTX(x) fprintf x
6062
#define DBG_CTX(x) do { } while(0)

src/fortranscanner.l

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,13 @@
6565
#include "defargs.h"
6666
#include "language.h"
6767
#include "commentscan.h"
68-
#include "fortrancode.h"
6968
#include "pre.h"
7069
#include "arguments.h"
7170
#include "debug.h"
7271
#include "markdown.h"
7372

73+
const int fixedCommentAfter = 72;
74+
7475
// Toggle for some debugging info
7576
//#define DBG_CTX(x) fprintf x
7677
#define DBG_CTX(x) do { } while(0)

src/pyscanner.l

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
#include "defargs.h"
5252
#include "language.h"
5353
#include "commentscan.h"
54-
#include "pycode.h"
5554
#include "arguments.h"
5655
#include "markdown.h"
5756

src/scanner.l

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
#include "defargs.h"
4949
#include "language.h"
5050
#include "commentscan.h"
51-
#include "code.h"
5251
#include "arguments.h"
5352

5453
#include "clangparser.h"

src/vhdldocgen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
#include "plantuml.h"
5959
#include "vhdljjparser.h"
6060
#include "VhdlParser.h"
61-
#include "vhdlcode.h"
61+
//#include "vhdlcode.h"
6262
#include "plantuml.h"
6363
//#define DEBUGFLOW
6464
#define theTranslator_vhdlType theTranslator->trVhdlType

src/vhdljjparser.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#include <qfileinfo.h>
1515
#include <qcstringlist.h>
1616
#include "vhdljjparser.h"
17-
#include "vhdlcode.h"
1817
#include "vhdldocgen.h"
1918
#include "message.h"
2019
#include "config.h"

src/vhdljjparser.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#include "types.h"
1919
#include "entry.h"
2020
#include "vhdldocgen.h"
21-
#include "vhdlcode.h"
2221
#include "config.h"
2322

2423
enum { GEN_SEC=0x1, PARAM_SEC,CONTEXT_SEC,PROTECTED_SEC } ;

0 commit comments

Comments
 (0)