Ignore:
Timestamp:
Mar 30, 2008, 6:13:55 AM (17 years ago)
Author:
bird
Message:

Added comp-cmds-ex, commands, commands-sc and commands-usr. Added a '%' command prefix that make the commands functions skip the line. Added a -c flag to append that'll make it call commands on each argument (similar to -v). Fixed a little bug in comp-cmds/vars.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/variable.c

    r1439 r1440  
    10461046  && defined (CONFIG_WITH_EVALPLUS) \
    10471047  && defined (CONFIG_WITH_MAKE_STATS) \
     1048  && defined (CONFIG_WITH_COMMANDS_FUNC) \
    10481049  && defined (KMK_HELPERS)
    10491050  (void) define_variable ("KMK_FEATURES", 12,
     
    10521053                          " abspathex"
    10531054                          " toupper tolower"
    1054                           " comp-vars comp-cmds"
     1055                          " comp-vars comp-cmds comp-cmds-ex"
    10551056                          " stack"
    10561057                          " math-int"
     
    10641065                          " evalctx evalval evalvalctx evalcall evalcall2"
    10651066                          " make-stats"
     1067                          " commands"
    10661068                          " kb-src-tool kb-obj-base kb-obj-suff kb-src-prop kb-src-one "
    10671069                          , o_default, 0);
     
    10791081#  endif
    10801082#  if defined (CONFIG_WITH_VALUE_LENGTH) && defined(CONFIG_WITH_COMPARE)
    1081   strcat (buf, " comp-vars comp-cmds");
     1083  strcat (buf, " comp-vars comp-cmds comp-cmds-ex");
    10821084#  endif
    10831085#  if defined (CONFIG_WITH_STACK)
     
    11141116  strcat (buf, " make-stats");
    11151117#  endif
     1118#  if defined (CONFIG_WITH_COMMANDS_FUNC)
     1119  strcat (buf, " commands");
     1120#  endif
    11161121#  if defined (KMK_HELPERS)
    11171122  strcat (buf, " kb-src-tool kb-obj-base kb-obj-suff kb-src-prop kb-src-one");
Note: See TracChangeset for help on using the changeset viewer.