diff options
author | marha <marha@users.sourceforge.net> | 2009-12-10 15:49:55 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-12-10 15:49:55 +0000 |
commit | 0925cb4f76a1667fb3777efbe6a0e0e69c4cca3c (patch) | |
tree | bbe20184d5104c1489cb84815f2f27dc4437be08 /tools/mhmake/src/mhmakelexer.l | |
parent | 0540eb5a1f795c0f5265d244ec979b8ddfcf3acb (diff) | |
download | vcxsrv-0925cb4f76a1667fb3777efbe6a0e0e69c4cca3c.tar.gz vcxsrv-0925cb4f76a1667fb3777efbe6a0e0e69c4cca3c.tar.bz2 vcxsrv-0925cb4f76a1667fb3777efbe6a0e0e69c4cca3c.zip |
Added 64-bit compilation
Removed autodep optimisation.
Diffstat (limited to 'tools/mhmake/src/mhmakelexer.l')
-rw-r--r-- | tools/mhmake/src/mhmakelexer.l | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/mhmake/src/mhmakelexer.l b/tools/mhmake/src/mhmakelexer.l index 0b25d4c74..00c9c3f9b 100644 --- a/tools/mhmake/src/mhmakelexer.l +++ b/tools/mhmake/src/mhmakelexer.l @@ -67,7 +67,7 @@ static void SaveMakMd5(refptr<fileinfo> &Target) };\
int m_Line;\
int m_BraceIndent;\
- int m_IndentSkip;\
+ size_t m_IndentSkip;\
iterstack<int> m_IndentStack;\
bool m_IgnoreIncludeError;\
string m_InputFileName; \
@@ -567,7 +567,7 @@ export { /*---------------------------------------------------------------------------*/
[a-zA-Z]:[a-zA-Z0-9\\\._\~\-%\@<&/]+\\[ \t\r]*\n {
- int EndIndex=::strlen((const char*)yytext);
+ size_t EndIndex=::strlen((const char*)yytext);
while (strchr(" \t\r\n\\",yytext[--EndIndex]));
yyless(EndIndex+1);
@@ -584,7 +584,7 @@ export { /*---------------------------------------------------------------------------*/
([a-zA-Z0-9\\\._\~\-\+%\@<&;/\*]|\\\ |\\#)+\\[ \t\r]*\n {
- int EndIndex=::strlen((const char*)yytext);
+ size_t EndIndex=::strlen((const char*)yytext);
while (strchr(" \t\r\n\\",yytext[--EndIndex]));
yyless(EndIndex+1);
@@ -594,7 +594,7 @@ export { }
([a-zA-Z0-9\\\._\~\-\+%\@<&;/\*]|\\\ |\\#)+\+= {
- int Len;
+ size_t Len;
PRINTF(("%s %d: STRING: %s\n",m_InputFileName.c_str(),m_Line,yytext));
Len=strlen((const char *)yytext)-2;
yyless(Len);
@@ -727,7 +727,7 @@ export { <COMMANDPARSE>[ \t]*\\#[^\n]* {
char ToAdd[100];
int i=0;
- int nChars=(strchr((const char *)yytext,'#')-(char*)yytext)+1;
+ int nChars=(int)((strchr((const char *)yytext,'#')-(char*)yytext))+1;
while (strchr(" \t",yytext[i]))
{
ToAdd[i]=yytext[i];
|