Skip to content
Snippets Groups Projects
Unverified Commit 6e37272c authored by Steve Plimpton's avatar Steve Plimpton Committed by GitHub
Browse files

Merge pull request #764 from akohlmey/improved-variable-error-reporting

Improved error messages when defining or evaluating variables
parents 6bd6e627 f37f4f00
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
......@@ -97,13 +97,13 @@ class Variable : protected Pointers {
void remove(int);
void grow();
void copy(int, char **, char **);
double evaluate(char *, Tree **);
double evaluate(char *, Tree **, int ivar=-1);
double collapse_tree(Tree *);
double eval_tree(Tree *, int);
int size_tree_vector(Tree *);
int compare_tree_vector(int, int);
void free_tree(Tree *);
int find_matching_paren(char *, int, char *&);
int find_matching_paren(char *, int, char *&, int ivar=-1);
int math_function(char *, char *, Tree **, Tree **, int &, double *, int &);
int group_function(char *, char *, Tree **, Tree **, int &, double *, int &);
int region_function(char *);
......@@ -117,6 +117,7 @@ class Variable : protected Pointers {
double constant(char *);
int parse_args(char *, char **);
char *find_next_comma(char *);
void print_var_error(const char *, int, const char *, int);
void print_tree(Tree *, int);
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment