diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-10-26 23:31:12 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-10-26 23:31:29 +0200 |
| commit | 0b408792c083eb64a5ca737bdbcb30b1d64042e9 (patch) | |
| tree | 51b791729ea8be5bb741088cba12c24a9c4034c5 /fluid/Fl_Function_Type.cxx | |
| parent | 8663b867497de6d370b9c8376c4bdfc909744663 (diff) | |
FLUID: Refactors MergeBack
* moved functionality into its own files
* refactored all methods to be less than a page
* documented all calls
* tested all situations I could think of
Diffstat (limited to 'fluid/Fl_Function_Type.cxx')
| -rw-r--r-- | fluid/Fl_Function_Type.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fluid/Fl_Function_Type.cxx b/fluid/Fl_Function_Type.cxx index 883212e3e..33932cc93 100644 --- a/fluid/Fl_Function_Type.cxx +++ b/fluid/Fl_Function_Type.cxx @@ -24,6 +24,7 @@ #include "code.h" #include "function_panel.h" #include "comments.h" +#include "mergeback.h" #include <FL/fl_string_functions.h> #include <FL/Fl_File_Chooser.H> @@ -353,6 +354,7 @@ static bool fd_isspace(int c) { return (c>0 && c<128 && isspace(c)); } +// code duplication: see int is_id(char c) in code.cxx static bool fd_iskeyword(int c) { return (c>0 && c<128 && (isalnum(c) || c=='_')); } |
