diff options
Diffstat (limited to 'math/fityk/files')
| -rw-r--r-- | math/fityk/files/patch-fityk__eparser.cpp | 29 | ||||
| -rw-r--r-- | math/fityk/files/patch-wxgui__ceria.cpp | 10 |
2 files changed, 0 insertions, 39 deletions
diff --git a/math/fityk/files/patch-fityk__eparser.cpp b/math/fityk/files/patch-fityk__eparser.cpp deleted file mode 100644 index 6a07e37aed83..000000000000 --- a/math/fityk/files/patch-fityk__eparser.cpp +++ /dev/null @@ -1,29 +0,0 @@ ---- fityk/eparser.cpp.orig 2015-05-25 17:42:29 UTC -+++ fityk/eparser.cpp -@@ -154,7 +154,7 @@ int get_function_narg(int op) - } - } - --bool is_function(int op) -+bool my_is_funcion(int op) - { - return get_function_narg(op) != 0; - } -@@ -878,7 +878,7 @@ void ExpressionParser::parse_expr(Lexer& - // check if this is closing bracket of func() - if (!opstack_.empty()) { - int top = opstack_.back(); -- if (is_function(top)) { -+ if (my_is_funcion(top)) { - pop_onto_que(); - int n = opstack_.back() + 1; - opstack_.pop_back(); -@@ -911,7 +911,7 @@ void ExpressionParser::parse_expr(Lexer& - lex.throw_syntax_error("unexpected ',' after '?'"); - // if we are here, opstack_.back() == OP_OPEN_ROUND - else if (opstack_.size() < 3 || -- !is_function(*(opstack_.end() - 2))) -+ !my_is_funcion(*(opstack_.end() - 2))) - lex.throw_syntax_error("',' outside of function"); - else - // don't pop OP_OPEN_ROUND from the stack diff --git a/math/fityk/files/patch-wxgui__ceria.cpp b/math/fityk/files/patch-wxgui__ceria.cpp deleted file mode 100644 index cc3e4a1e4c75..000000000000 --- a/math/fityk/files/patch-wxgui__ceria.cpp +++ /dev/null @@ -1,10 +0,0 @@ ---- wxgui/ceria.cpp.orig 2015-05-25 17:42:29 UTC -+++ wxgui/ceria.cpp -@@ -9,6 +9,7 @@ - #include <stdio.h> - #include <ctype.h> - #include <cmath> -+#include <stdlib.h> - #include <assert.h> - #include <string.h> - #include <algorithm> |
