Click here to Skip to main content
Click here to Skip to main content

Tokenizer and analyzer package supporting precedence prioritized rules

By , 1 Jan 2002
 
cxtpackagetut_win32vc.zip
COPYING
cpAbsd.dsw
cxAnalyzer
cxAnalyzer.dsp
cxAnalyzer.plg
cxTokenizer
cxTokenizer.dsp
cxTokenizer.plg
cxtPackage
cxtPackage.dsp
cxtPackage.plg
mathTok
mathTok.dsp
mathTok.plg
simpleCalc
simpleCalc.bmp
simpleCalc.dsp
simpleCalc.plg
tkCommon
cxtpackage_win32vc.zip
COPYING
cpAbsd.dsw
cxAnalyzer.dsp
cxAnalyzer.plg
Debug
cxTokenizer.dsp
cxTokenizer.plg
cxtPackage.dsp
cxtPackage.plg
grammaride.zip
grammarIDE.exe
stlport_vc645.dll
pkgcomplete.zip
COPYING
cpAbsd.dsw
cxAnalyzer.dsp
cxaToken.inl
cxTokenizer.dsp
cxTokenizerMatchTokenRule.inl
cxtPackage.dsp
emptyTestApp
emptyTestApp.clw
emptyTestApp.dsp
res
emptyTestApp.ico
grammarIDE
grammarIDE.clw
grammarIDE.dsp
res
grammarIDE.ico
grammarIDEDoc.ico
icon1.ico
Toolbar.bmp
vssver.scc
zoomable.ico
simpleCalc.bmp
simpleCalc.dsp
vssver.scc
pkgsrconly.zip
COPYING
cpAbsd.dsw
cxAnalyzer.dsp
cxaToken.inl
cxTokenizer.dsp
cxTokenizerMatchTokenRule.inl
cxtPackage.dsp
emptyTestApp.clw
emptyTestApp.dsp
emptyTestApp.ico
vssver.scc
#include <tchar.h>

#ifdef _DEBUG
#ifdef _MFC_DEBUG
#include <afx.h>
#else
#include <windows.h>
#if defined(_DEBUG)
#define _MFC_OVERRIDES_NEW
	#include <crtdbg.h>

	extern void* __cdecl operator new(size_t nSize, int nType, LPCSTR lpszFileName, int nLine);
	extern void* _cdecl operator new(size_t nSize, LPCSTR lpszFileName, int nLine);
	#define DEBUG_NEW new(THIS_FILE, __LINE__)
	#if _MSC_VER >= 1200
	extern void _cdecl operator delete(void* p, LPCSTR lpszFileName, int nLine);
	#endif
#endif
#endif
#endif

#ifndef TRACE
#define	ASSERT(x)	{if(!(x)) DebugBreak();}
#define VERIFY(x)	{if(!(x)) DebugBreak();}
#define TRACE		OutputDebugStringHlp

extern	void		OutputDebugStringHlp(LPCTSTR lpszFormat, ...);
#endif

// _COMMON_CPP is defined by common.cpp
#ifdef	_COMMON_CPP
#include <stdarg.h>
void	OutputDebugStringHlp(LPCTSTR lpszFormat, ...)
	{
	static	TCHAR	szTemp[2048];
	va_list	vaptr;
	va_start(vaptr,lpszFormat);
	_vstprintf(szTemp,lpszFormat,vaptr);
	va_end(vaptr);

	OutputDebugString(szTemp);
	}
#endif

By viewing downloads associated with this article you agree to the Terms of use and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Alexander Berthold
Web Developer
Germany Germany
Member
No Biography provided

Permalink | Advertise | Privacy | Mobile
Web01 | 2.6.130516.1 | Last Updated 2 Jan 2002
Article Copyright 2001 by Alexander Berthold
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid