Code::Blocks  SVN r11506
Namespaces | Macros | Variables
tokenizer.cpp File Reference
#include <sdk.h>
#include <cctype>
#include <wx/utils.h>
#include <wx/file.h>
#include <wx/msgdlg.h>
#include "globals.h"
#include "logmanager.h"
#include "manager.h"
#include "cclogger.h"
#include "expression.h"
#include "tokenizer.h"
#include "tokentree.h"
Include dependency graph for tokenizer.cpp:

Go to the source code of this file.

Namespaces

 TokenizerConsts
 

Macros

#define CC_TOKENIZER_DEBUG_OUTPUT   0
 
#define TRACE(format, args...)
 
#define TRACE2(format, args...)
 
#define TRACE2_SET_FLAG(traceFile)
 

Variables

const wxString TokenizerConsts::colon (_T(":"))
 
const wxString TokenizerConsts::colon_colon (_T("::"))
 
const wxString TokenizerConsts::equal (_T("="))
 
const wxString TokenizerConsts::kw_if (_T("if"))
 
const wxString TokenizerConsts::kw_ifdef (_T("ifdef"))
 
const wxString TokenizerConsts::kw_ifndef (_T("ifndef"))
 
const wxString TokenizerConsts::kw_elif (_T("elif"))
 
const wxString TokenizerConsts::kw_elifdef (_T("elifdef"))
 
const wxString TokenizerConsts::kw_elifndef (_T("elifndef"))
 
const wxString TokenizerConsts::kw_else (_T("else"))
 
const wxString TokenizerConsts::kw_endif (_T("endif"))
 
const wxString TokenizerConsts::hash (_T("#"))
 
const wxString TokenizerConsts::tabcrlf (_T("\\))
 
const wxString TokenizerConsts::kw_define (_T("define"))
 
const wxString TokenizerConsts::kw_undef (_T("undef"))
 
static const size_t s_MaxMacroReplaceDepth = 5
 

Macro Definition Documentation

◆ CC_TOKENIZER_DEBUG_OUTPUT

#define CC_TOKENIZER_DEBUG_OUTPUT   0

Definition at line 26 of file tokenizer.cpp.

◆ TRACE

#define TRACE (   format,
  args... 
)

◆ TRACE2

#define TRACE2 (   format,
  args... 
)

Definition at line 64 of file tokenizer.cpp.

Referenced by Tokenizer::Init().

◆ TRACE2_SET_FLAG

#define TRACE2_SET_FLAG (   traceFile)

Definition at line 65 of file tokenizer.cpp.

Referenced by Tokenizer::Init().

Variable Documentation

◆ s_MaxMacroReplaceDepth

const size_t s_MaxMacroReplaceDepth = 5
static

Definition at line 89 of file tokenizer.cpp.

Referenced by Tokenizer::ReplaceBufferText().