]> www.ginac.de Git - ginac.git/blobdiff - ginac/input_lexer.ll
adapted to change symbol::getname() -> symbol::get_name()
[ginac.git] / ginac / input_lexer.ll
index 18f78818746e0bbd82fd31b2650d1be3b2cb6417..34cba11f045fe7921e9122be3e93f7d8ee83ee0a 100644 (file)
@@ -4,7 +4,7 @@
  *  This file must be processed with flex. */
 
 /*
- *  GiNaC Copyright (C) 1999-2000 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2001 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -183,14 +183,14 @@ void set_lexer_symbols(ex l)
                return;
        for (int i=0; i<l.nops(); i++) {
                if (is_ex_exactly_of_type(l.op(i), symbol))
-                       syms[ex_to_symbol(l.op(i)).getname()] = sym_def(l.op(i), true);
+                       syms[ex_to_symbol(l.op(i)).get_name()] = sym_def(l.op(i), true);
        }
 }
 
 // Check whether symbol was predefined
 bool is_lexer_symbol_predefined(const ex &s)
 {
-       sym_tab::const_iterator i = syms.find(ex_to_symbol(s).getname());
+       sym_tab::const_iterator i = syms.find(ex_to_symbol(s).get_name());
        if (i == syms.end())
                return false;
        else