aboutsummaryrefslogtreecommitdiff
path: root/src/buildparser.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-08-28 18:51:25 +0000
committerMike Buland <eichlan@xagasoft.com>2006-08-28 18:51:25 +0000
commitc41af88a8a3dcd3e9e0ea6dcbe7df9e71eb4eedd (patch)
treee9b7b5e4f968e3a375f554dba64ff5a46cb4b62b /src/buildparser.cpp
parentf7809b1a74da9a653b475b6fa499b078cad48c74 (diff)
downloadbuild-c41af88a8a3dcd3e9e0ea6dcbe7df9e71eb4eedd.tar.gz
build-c41af88a8a3dcd3e9e0ea6dcbe7df9e71eb4eedd.tar.bz2
build-c41af88a8a3dcd3e9e0ea6dcbe7df9e71eb4eedd.tar.xz
build-c41af88a8a3dcd3e9e0ea6dcbe7df9e71eb4eedd.zip
Finished getting everything to build with the new changes. Parser is now the
generic base class for anything that could create a build object.
Diffstat (limited to '')
-rw-r--r--src/buildparser.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/buildparser.cpp b/src/buildparser.cpp
index cb285d4..7903e04 100644
--- a/src/buildparser.cpp
+++ b/src/buildparser.cpp
@@ -31,22 +31,6 @@ Build *BuildParser::load( const std::string &sFile )
31 return genBuild(); 31 return genBuild();
32} 32}
33 33
34void BuildParser::error( YYLTYPE *locp, const char *msg )
35{
36 fflush( stdout );
37 throw BuildException("%s: %d.%d-%d.%d: %s",
38 file.c_str(),
39 locp->first_line, locp->first_column,
40 locp->last_line, locp->last_column,
41 msg );
42}
43
44void BuildParser::error( const std::string &msg )
45{
46 fflush( stdout );
47 throw BuildException("%s", msg.c_str() );
48}
49
50// 34//
51// Target functions 35// Target functions
52// 36//