[GiNaC-devel] Please pull from git://github.com/AlexeiSheplyakov/GiNaC.git master.fixups

Alexei Sheplyakov alexei.sheplyakov at gmail.com
Thu Dec 9 20:49:22 CET 2010


Hello!

Parsing of the user-defined classes is broken in the master branch. The master.fixups
branch at git://github.com/AlexeiSheplyakov/GiNaC.git contains necessary fixes
(forward-ported from the 1.5 branch):

Alexei Sheplyakov (4):
      Revert "Changed the parser such that it understands all defined functions"
      Fix the compliation error *for real*
      Fix the compliation error *for real* ... and restore performance
      Use C style cast when converting void* into function pointer.

Jens Vollinga (8):
      Allow user defined functions to be parsed.
      Fixed cast that caused compile error on 64bit machines.
      Fixed the parser such that it can read in user defined classes again.
      Fixed dirty hack in parser to distinguish between serial numbers and pointers.
      Fixed the fix in commit f059ebe117d15292e0d262e6e8e232e835c7e33c.
      Fixed memory leak.
      Fixed include of stdint.h (parser.cpp needs the header as well).
      Added get_builtin_reader() that parses only the builtin GiNaC functions and pow, sqrt, and power.

 INSTALL                         |    3 +-
 configure.ac                    |    4 +
 ginac/Makefile.am               |   18 +++++-
 ginac/function.pl               |    8 ++-
 ginac/parser/builtin_fcns.def   |   14 ++++
 ginac/parser/default_reader.tpl |  145 +++++++++++++++++++++++++++++++++++++++
 ginac/parser/parse_context.cpp  |   20 ------
 ginac/parser/parse_context.h    |   32 +++++++--
 ginac/parser/parser.cpp         |   42 +++++++++++-
 9 files changed, 253 insertions(+), 33 deletions(-)
 create mode 100644 ginac/parser/builtin_fcns.def
 create mode 100644 ginac/parser/default_reader.tpl



More information about the GiNaC-devel mailing list