From 5a30da03ddafd49caf68942f7ddf021bd898ef6d Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 15 Feb 2010 12:30:05 +0000 Subject: linux: solved problem running svn info when the mhmakeconf points to a symbolic link autodep scanning: # include may contain spaces --- tools/mhmake/src/mhmakefileparser.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/mhmake/src/mhmakefileparser.cpp') diff --git a/tools/mhmake/src/mhmakefileparser.cpp b/tools/mhmake/src/mhmakefileparser.cpp index de7b22da3..d5d2980f8 100644 --- a/tools/mhmake/src/mhmakefileparser.cpp +++ b/tools/mhmake/src/mhmakefileparser.cpp @@ -520,7 +520,10 @@ void mhmakefileparser::GetAutoDeps(const refptr &FirstDep,set< refptr< else if (Ret=='#' || Ret=='.') { if (Ret=='#') + { + fscanf(pIn,"%*[ \t]"); Ret=fscanf(pIn,"include %1[\"<]%254[^>\"]%*[\">]",&Type,IncludeList); + } else Ret=fscanf(pIn,"import %1[\"<]%254[^>\"]%*[\">]",&Type,IncludeList); if (Ret==2) -- cgit v1.2.3