From 0b408792c083eb64a5ca737bdbcb30b1d64042e9 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 26 Oct 2023 23:31:12 +0200 Subject: 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 --- fluid/Fl_Function_Type.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fluid/Fl_Function_Type.cxx') 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 #include @@ -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=='_')); } -- cgit v1.2.3