Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Commit

Permalink
Comment unused code for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
pasnox committed Sep 8, 2012
1 parent c4d743a commit 644523b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/syntax/SyntaxParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <QVariant>
#include <QDebug>

QHash<QString, QodeEdit::Style> initializedStyleMapping()
/*QHash<QString, QodeEdit::Style> initializedStyleMapping()
{
QHash<QString, QodeEdit::Style> hash;
hash[ "alert" ] = QodeEdit::AlertStyle;
Expand All @@ -42,7 +42,7 @@ QHash<QString, QodeEdit::Style> initializedStyleMapping()
return hash;
}
static QHash<QString, QodeEdit::Style> globalStyleMapping( initializedStyleMapping() );
static QHash<QString, QodeEdit::Style> globalStyleMapping( initializedStyleMapping() );*/

// ParserPrivate

Expand All @@ -56,9 +56,9 @@ class Syntax::ParserPrivate {
QString text;
QStack<QString> nodesName;
QMap<QString, int> counts;

#if !defined( QT_NO_DEBUG )
Syntax::Parser::Debug debug;
typedef QHash<QString, QHash<QString, QSet<QString> > > Debug;
Syntax::ParserPrivate::Debug debug;
#endif

ParserPrivate( Syntax::Parser* _parser )
Expand Down
4 changes: 0 additions & 4 deletions src/syntax/SyntaxParser.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ class Parser : public QXmlDefaultHandler
friend class Syntax::Reader;

public:
#if !defined( QT_NO_DEBUG )
typedef QHash<QString, QHash<QString, QSet<QString> > > Debug;
#endif

Parser();
virtual ~Parser();

Expand Down

0 comments on commit 644523b

Please sign in to comment.