aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-01-14 15:52:18 +0000
committermarha <marha@users.sourceforge.net>2010-01-14 15:52:18 +0000
commit5eaf49ad7feec1f2043ecb1b90c04c534ce29f46 (patch)
tree877b3799bd2d4e3b41f7211c606bd9348a8bba43 /tools
parentcda2d677dab0f07e21e9abb84cce3fca96140dc3 (diff)
downloadvcxsrv-5eaf49ad7feec1f2043ecb1b90c04c534ce29f46.tar.gz
vcxsrv-5eaf49ad7feec1f2043ecb1b90c04c534ce29f46.tar.bz2
vcxsrv-5eaf49ad7feec1f2043ecb1b90c04c534ce29f46.zip
Allos the | character in define values.
Diffstat (limited to 'tools')
-rw-r--r--tools/mhmake/src/mhmakelexer.l6
-rw-r--r--tools/mhmake/src/util.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/mhmake/src/mhmakelexer.l b/tools/mhmake/src/mhmakelexer.l
index 00c9c3f9b..56b1dbc94 100644
--- a/tools/mhmake/src/mhmakelexer.l
+++ b/tools/mhmake/src/mhmakelexer.l
@@ -583,7 +583,7 @@ export {
}
/*---------------------------------------------------------------------------*/
-([a-zA-Z0-9\\\._\~\-\+%\@<&;/\*]|\\\ |\\#)+\\[ \t\r]*\n {
+([a-zA-Z0-9\\\._\~\-\+%\@<&;/\*\|]|\\\ |\\#)+\\[ \t\r]*\n {
size_t EndIndex=::strlen((const char*)yytext);
while (strchr(" \t\r\n\\",yytext[--EndIndex]));
yyless(EndIndex+1);
@@ -593,7 +593,7 @@ export {
return mhmakeparser::STRING;
}
-([a-zA-Z0-9\\\._\~\-\+%\@<&;/\*]|\\\ |\\#)+\+= {
+([a-zA-Z0-9\\\._\~\-\+%\@<&;/\*\|]|\\\ |\\#)+\+= {
size_t Len;
PRINTF(("%s %d: STRING: %s\n",m_InputFileName.c_str(),m_Line,yytext));
Len=strlen((const char *)yytext)-2;
@@ -602,7 +602,7 @@ export {
return mhmakeparser::STRING;
}
-([a-zA-Z0-9\\\._\~\-\+%\@<&;/\*]|\\\ |\\#)+ {
+([a-zA-Z0-9\\\._\~\-\+%\@<&;/\*\|]|\\\ |\\#)+ {
PRINTF(("%s %d: STRING: %s\n",m_InputFileName.c_str(),m_Line,yytext));
theValue.theString=(const char *)yytext;
return mhmakeparser::STRING;
diff --git a/tools/mhmake/src/util.h b/tools/mhmake/src/util.h
index 25db10e48..23f26e0ad 100644
--- a/tools/mhmake/src/util.h
+++ b/tools/mhmake/src/util.h
@@ -50,7 +50,7 @@
#define PLATFORM "linux"
#endif
-#define MHMAKEVER "1.4.10"
+#define MHMAKEVER "1.4.11"
string SearchCommand(const string &Command, const string &Extension="");