mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 255328 mkdepend command line defines may be broken
http://www.mozilla.org/hacking/portable-cpp.html#no_cpp_comments_in_c caught by m.calderbank@iname.com
This commit is contained in:
parent
0cd20b929c
commit
fb1b2a3df7
@ -238,7 +238,9 @@ main(int argc, char *argv[])
|
||||
argc--;
|
||||
offset = 0;
|
||||
}
|
||||
//offset +1 here since first def letter cannot be `=`
|
||||
/* offset +1 here since first def letter
|
||||
* cannot be `=`
|
||||
*/
|
||||
for (p = argv[0] + offset + 1; *p; p++)
|
||||
if (*p == '=') {
|
||||
*p = ' ';
|
||||
|
Loading…
Reference in New Issue
Block a user