From 3ab9a310275c0289ec5ae6deaf3b970aca6904e9 Mon Sep 17 00:00:00 2001 From: Christian Bauer Date: Mon, 9 Apr 2001 23:32:23 +0000 Subject: [PATCH 1/1] adapted to change symbol::getname() -> symbol::get_name() --- ginac/input_lexer.ll | 4 ++-- ginac/input_parser.yy | 4 ++-- ginsh/ginsh_parser.yy | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ginac/input_lexer.ll b/ginac/input_lexer.ll index f8fc4e20..34cba11f 100644 --- a/ginac/input_lexer.ll +++ b/ginac/input_lexer.ll @@ -183,14 +183,14 @@ void set_lexer_symbols(ex l) return; for (int i=0; i(*($3.bp))).eval(1); } | exp T_EQUAL exp {$$ = $1 == $3;} diff --git a/ginsh/ginsh_parser.yy b/ginsh/ginsh_parser.yy index d66174ea..1a4e7e0a 100644 --- a/ginsh/ginsh_parser.yy +++ b/ginsh/ginsh_parser.yy @@ -151,7 +151,7 @@ line : ';' YYERROR; } } - | '?' T_SYMBOL {print_help(ex_to_symbol($2).getname());} + | '?' T_SYMBOL {print_help(ex_to_symbol($2).get_name());} | '?' T_TIME {print_help("time");} | '?' '?' {print_help_topics();} | T_QUIT {YYACCEPT;} @@ -589,7 +589,7 @@ void GiNaC::ginsh_get_ginac_functions(void) static fcn_tab::const_iterator find_function(const ex &sym, int req_params) { - const string &name = ex_to_symbol(sym).getname(); + const string &name = ex_to_symbol(sym).get_name(); typedef fcn_tab::const_iterator I; pair b = fcns.equal_range(name); if (b.first == b.second) -- 2.44.0