]> www.ginac.de Git - ginac.git/blobdiff - ginac/parser/parser.hpp
parser: allow read/write access to symbol table and strictness.
[ginac.git] / ginac / parser / parser.hpp
index a87bcae0457c217d1677e1246c33af2fbccc9c9c..dbe60ee0946bf8fd668b84d485caeefe3408d1bf 100644 (file)
@@ -76,10 +76,15 @@ public:
        { 
                return syms; 
        }
+       /// read/write access to the symbol table
+       symtab& get_syms()
+       {
+               return syms;
+       }
 
-private:
        /// If true, throw an exception if an unknown symbol is encountered.
-       const bool strict;
+       bool strict;
+private:
        /**
         * Function/ctor table, maps a prototype (which is a name and number
         * arguments) to a C++ function. Used for parsing identifier_expr's