зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
9eb83363e7
Коммит
753b59a0e4
|
@ -238,7 +238,9 @@ main(int argc, char *argv[])
|
||||||
argc--;
|
argc--;
|
||||||
offset = 0;
|
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++)
|
for (p = argv[0] + offset + 1; *p; p++)
|
||||||
if (*p == '=') {
|
if (*p == '=') {
|
||||||
*p = ' ';
|
*p = ' ';
|
||||||
|
|
Загрузка…
Ссылка в новой задаче