diff options
author | marha <marha@users.sourceforge.net> | 2009-10-02 09:28:00 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-10-02 09:28:00 +0000 |
commit | 516cdec4894096305f5002b922ba02d49cb3e816 (patch) | |
tree | e34bc97b00f6acf17b33877efb7f5ffa543d2881 /tools/mhmake/src/mhmakeparser.y | |
parent | 945c71554aa1866a5286dd4b8f5b199dd7af9be9 (diff) | |
download | vcxsrv-516cdec4894096305f5002b922ba02d49cb3e816.tar.gz vcxsrv-516cdec4894096305f5002b922ba02d49cb3e816.tar.bz2 vcxsrv-516cdec4894096305f5002b922ba02d49cb3e816.zip |
Optimised auto dependency generation
Added control c handler in windows
Now throw string exceptions instead of integer exceptions.
Diffstat (limited to 'tools/mhmake/src/mhmakeparser.y')
-rw-r--r-- | tools/mhmake/src/mhmakeparser.y | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/mhmake/src/mhmakeparser.y b/tools/mhmake/src/mhmakeparser.y index ee26dd92b..68b0a489e 100644 --- a/tools/mhmake/src/mhmakeparser.y +++ b/tools/mhmake/src/mhmakeparser.y @@ -111,8 +111,7 @@ ruledef: expression_nocolorequal rulecolon maybeemptyexpression #ifdef _DEBUG
if (!ExpandExpression($1).size())
{
- printf("Empty left hand side in rule: %s : %s\n",$1.c_str(),$3.c_str());
- throw(1);
+ throw string("Empty left hand side in rule: ") + $1 + " : " + $3;
}
#endif
SplitToItems(ExpandExpression($1),*m_pCurrentItems,m_MakeDir);
|