X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Finput_lexer.h;h=a01bc5d50be2dafa8c7208a9c0f2c3b5f88bd8ba;hp=0b4f8bd65cdb3a4f1783b2e9f7145750bc27b6fc;hb=308cd44009b6753631a267093f6e2baff73cc963;hpb=4e3a4ac2bcb0837611ea31bc8fc05d84a20c33ac diff --git a/ginac/input_lexer.h b/ginac/input_lexer.h index 0b4f8bd6..a01bc5d5 100644 --- a/ginac/input_lexer.h +++ b/ginac/input_lexer.h @@ -4,7 +4,7 @@ * This file must be processed with flex. */ /* - * GiNaC Copyright (C) 1999-2001 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2004 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 @@ -50,6 +50,9 @@ class ex; /** Set the input string to be parsed by ginac_yyparse() (used internally). */ extern void set_lexer_string(const std::string &s); +/** Get name of symbol/index (used internally). */ +extern std::string get_symbol_name(const ex & s); + /** Set the list of predefined symbols for the lexer (used internally). */ extern void set_lexer_symbols(ex l); @@ -57,7 +60,7 @@ extern void set_lexer_symbols(ex l); extern bool is_lexer_symbol_predefined(const ex &s); /** The expression parser function (used internally). */ -extern int ginac_yyparse(); +extern int ginac_yyparse(void); /** The expression returned by the parser (used internally). */ extern ex parsed_ex;