diff options
Diffstat (limited to '')
-rw-r--r-- | src/buildparser.cpp | 16 |
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 | ||
34 | void 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 | |||
44 | void 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 | // |