From 8817efe46ab12479b37631b262ea462ac9a20977 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sun, 26 Nov 2023 23:20:22 -0500 Subject: [PATCH] * src/function.c (function_table_entry): Sort --- src/function.c | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/function.c b/src/function.c index a705c8a0..cf221bbc 100644 --- a/src/function.c +++ b/src/function.c @@ -2397,41 +2397,41 @@ static struct function_table_entry function_table_init[] = FT_ENTRY ("abspath", 0, 1, 1, func_abspath), FT_ENTRY ("addprefix", 2, 2, 1, func_addsuffix_addprefix), FT_ENTRY ("addsuffix", 2, 2, 1, func_addsuffix_addprefix), + FT_ENTRY ("and", 1, 0, 0, func_and), FT_ENTRY ("basename", 0, 1, 1, func_basename_dir), + FT_ENTRY ("call", 1, 0, 1, func_call), FT_ENTRY ("dir", 0, 1, 1, func_basename_dir), - FT_ENTRY ("notdir", 0, 1, 1, func_notdir_suffix), - FT_ENTRY ("subst", 3, 3, 1, func_subst), - FT_ENTRY ("suffix", 0, 1, 1, func_notdir_suffix), + FT_ENTRY ("error", 0, 1, 1, func_error), + FT_ENTRY ("eval", 0, 1, 1, func_eval), + FT_ENTRY ("file", 1, 2, 1, func_file), FT_ENTRY ("filter", 2, 2, 1, func_filter_filterout), FT_ENTRY ("filter-out", 2, 2, 1, func_filter_filterout), FT_ENTRY ("findstring", 2, 2, 1, func_findstring), FT_ENTRY ("firstword", 0, 1, 1, func_firstword), FT_ENTRY ("flavor", 0, 1, 1, func_flavor), + FT_ENTRY ("foreach", 3, 3, 0, func_foreach), + FT_ENTRY ("if", 2, 3, 0, func_if), + FT_ENTRY ("info", 0, 1, 1, func_error), + FT_ENTRY ("intcmp", 2, 5, 0, func_intcmp), FT_ENTRY ("join", 2, 2, 1, func_join), FT_ENTRY ("lastword", 0, 1, 1, func_lastword), + FT_ENTRY ("let", 3, 3, 0, func_let), + FT_ENTRY ("notdir", 0, 1, 1, func_notdir_suffix), + FT_ENTRY ("or", 1, 0, 0, func_or), + FT_ENTRY ("origin", 0, 1, 1, func_origin), FT_ENTRY ("patsubst", 3, 3, 1, func_patsubst), FT_ENTRY ("realpath", 0, 1, 1, func_realpath), FT_ENTRY ("shell", 0, 1, 1, func_shell), FT_ENTRY ("sort", 0, 1, 1, func_sort), FT_ENTRY ("strip", 0, 1, 1, func_strip), + FT_ENTRY ("subst", 3, 3, 1, func_subst), + FT_ENTRY ("suffix", 0, 1, 1, func_notdir_suffix), + FT_ENTRY ("value", 0, 1, 1, func_value), + FT_ENTRY ("warning", 0, 1, 1, func_error), FT_ENTRY ("wildcard", 0, 1, 1, func_wildcard), FT_ENTRY ("word", 2, 2, 1, func_word), FT_ENTRY ("wordlist", 3, 3, 1, func_wordlist), FT_ENTRY ("words", 0, 1, 1, func_words), - FT_ENTRY ("origin", 0, 1, 1, func_origin), - FT_ENTRY ("foreach", 3, 3, 0, func_foreach), - FT_ENTRY ("let", 3, 3, 0, func_let), - FT_ENTRY ("call", 1, 0, 1, func_call), - FT_ENTRY ("info", 0, 1, 1, func_error), - FT_ENTRY ("error", 0, 1, 1, func_error), - FT_ENTRY ("warning", 0, 1, 1, func_error), - FT_ENTRY ("intcmp", 2, 5, 0, func_intcmp), - FT_ENTRY ("if", 2, 3, 0, func_if), - FT_ENTRY ("or", 1, 0, 0, func_or), - FT_ENTRY ("and", 1, 0, 0, func_and), - FT_ENTRY ("value", 0, 1, 1, func_value), - FT_ENTRY ("eval", 0, 1, 1, func_eval), - FT_ENTRY ("file", 1, 2, 1, func_file), #ifdef EXPERIMENTAL FT_ENTRY ("eq", 2, 2, 1, func_eq), FT_ENTRY ("not", 0, 1, 1, func_not),