]> git.sur5r.net Git - cc65/commit
Fixed -W cmdline option handling.
authorOliver Schmidt <ol.sc@web.de>
Mon, 5 Mar 2018 21:31:10 +0000 (22:31 +0100)
committerOliver Schmidt <ol.sc@web.de>
Mon, 5 Mar 2018 21:31:10 +0000 (22:31 +0100)
commitbc58bf572cf317f54580018cf12968693768228d
tree59d336bfeecea8816805010cccae0396cdca6445
parent19f3229f45262da83c910650c382f5bdd510d022
Fixed -W cmdline option handling.

Reverted part of https://github.com/cc65/cc65/commit/3157e4be1ec7f2a5ac61ca45b232cd07c5e30483 as it actually introduced a regression.

It doesn't make sense to check for Arg[3] == '\0' _before_ checking Arg[2] != '\0'. This made the Win32 builds fail to correctly parse e.g. cl65 -W unused-var test.c
src/cl65/main.c