mirror of
https://github.com/uffejakobsen/acme.git
synced 2025-02-16 04:33:21 +00:00
in addition to "-DSYMBOL=VALUE", now "-D SYMBOL=VALUE" is also accepted
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@376 4df02467-bbd4-4a76-a152-e7ce94205b78
This commit is contained in:
parent
b643115017
commit
3818f97723
@ -131,7 +131,7 @@ static void show_help_and_exit(void)
|
||||
" --" OPTION_STRICT_SEGMENTS " turn segment overlap warnings into errors\n"
|
||||
" --" OPTION_STRICT " treat all warnings like errors\n"
|
||||
" -vDIGIT set verbosity level\n"
|
||||
" -DSYMBOL=VALUE define global symbol\n"
|
||||
" -D SYMBOL=VALUE define global symbol\n"
|
||||
" -I PATH/TO/DIR add search path for input files\n"
|
||||
// TODO: replace these:
|
||||
" -W" OPTIONWNO_LABEL_INDENT " suppress warnings about indented labels\n"
|
||||
@ -682,7 +682,10 @@ static char short_option(const char *argument)
|
||||
while (*argument) {
|
||||
switch (*argument) {
|
||||
case 'D': // "-D" define constants
|
||||
define_symbol(argument + 1);
|
||||
if (argument[1])
|
||||
define_symbol(argument + 1);
|
||||
else
|
||||
define_symbol(cliargs_safe_get_next("symbol definition"));
|
||||
goto done;
|
||||
case 'f': // "-f" selects output format
|
||||
set_output_format(cliargs_get_next()); // NULL is ok (handled like unknown)
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
#define RELEASE "0.97" // update before release FIXME
|
||||
#define CODENAME "Zem" // update before release
|
||||
#define CHANGE_DATE "18 Jun" // update before release FIXME
|
||||
#define CHANGE_DATE "15 Jul" // update before release FIXME
|
||||
#define CHANGE_YEAR "2024" // update before release
|
||||
//#define HOME_PAGE "http://home.pages.de/~mac_bacon/smorbrod/acme/"
|
||||
#define HOME_PAGE "http://sourceforge.net/p/acme-crossass/" // FIXME
|
||||
|
Loading…
x
Reference in New Issue
Block a user