From 89b5cb358a13e7229487fe3c22785942d329b018 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 7 Aug 2006 05:37:32 +0000 Subject: Updated the lexer to not include + or = in string literals outside of quotes. Added the new make style viewer, the simplest, lamest viewer, but it looks just like the output of make. Very useful for debugging and seeing what's going on. --- src/viewermake.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/viewermake.h (limited to 'src/viewermake.h') diff --git a/src/viewermake.h b/src/viewermake.h new file mode 100644 index 0000000..767d0bd --- /dev/null +++ b/src/viewermake.h @@ -0,0 +1,28 @@ +#ifndef VIEWER_MAKE_H +#define VIEWER_MAKE_H + +#include + +#include "viewer.h" +#include "staticstring.h" + +class ViewerMake : public Viewer +{ +public: + ViewerMake(); + virtual ~ViewerMake(); + + virtual void beginTarget( const char *sName, const char *sType, const char *sOperation, int nPerforms ); + virtual void endTarget(); + + virtual void beginPerform( Perform *pPerf ); + virtual void beginExtraRequiresCheck( const char *sCommand ); + void printHead(); + virtual void beginExecute(); + virtual void executeCmd( const char *sCmd ); + +private: + +}; + +#endif -- cgit v1.2.3