aboutsummaryrefslogtreecommitdiff
path: root/src/viewermake.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-08-07 05:37:32 +0000
committerMike Buland <eichlan@xagasoft.com>2006-08-07 05:37:32 +0000
commit89b5cb358a13e7229487fe3c22785942d329b018 (patch)
tree743e0ec9898dd2329223c7d7972d14ddb110abb1 /src/viewermake.h
parent71c3c523aacb0f6986d50f4a7a2e5d604728a4c4 (diff)
downloadbuild-89b5cb358a13e7229487fe3c22785942d329b018.tar.gz
build-89b5cb358a13e7229487fe3c22785942d329b018.tar.bz2
build-89b5cb358a13e7229487fe3c22785942d329b018.tar.xz
build-89b5cb358a13e7229487fe3c22785942d329b018.zip
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.
Diffstat (limited to 'src/viewermake.h')
-rw-r--r--src/viewermake.h28
1 files changed, 28 insertions, 0 deletions
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 @@
1#ifndef VIEWER_MAKE_H
2#define VIEWER_MAKE_H
3
4#include <stdint.h>
5
6#include "viewer.h"
7#include "staticstring.h"
8
9class ViewerMake : public Viewer
10{
11public:
12 ViewerMake();
13 virtual ~ViewerMake();
14
15 virtual void beginTarget( const char *sName, const char *sType, const char *sOperation, int nPerforms );
16 virtual void endTarget();
17
18 virtual void beginPerform( Perform *pPerf );
19 virtual void beginExtraRequiresCheck( const char *sCommand );
20 void printHead();
21 virtual void beginExecute();
22 virtual void executeCmd( const char *sCmd );
23
24private:
25
26};
27
28#endif