diff src/symtab.h @ 605:4f65175911a6

[project @ 1994-08-13 20:10:39 by jwe]
author jwe
date Sat, 13 Aug 1994 20:10:39 +0000
parents 94fd73d1a0bc
children 42731861ee09
line wrap: on
line diff
--- a/src/symtab.h	Sat Aug 13 20:10:39 1994 +0000
+++ b/src/symtab.h	Sat Aug 13 20:10:39 1994 +0000
@@ -86,8 +86,6 @@
   char *help (void) const;
   void document (const char *h);
 
-  int save (ostream& os, int mark_as_global, int precision);
-
   enum TYPE
     {
       UNKNOWN = 0,
@@ -167,8 +165,6 @@
 
   void document (const char *h);
 
-  int save (ostream& os, int mark_as_global = 0, int precision = 17);
-
   int clear (void);
 
   void alias (symbol_record *s, int force = 0);
@@ -304,10 +300,6 @@
   void clear (int clear_user_functions = 1);
   int clear (const char *nm, int clear_user_functions = 1);
 
-  int save (ostream& os, int mark_as_global = 0, int precision = 17);
-  int save (ostream& os, const char *name, int mark_as_global = 0,
-	    int precicion = 17);
-
   int size (void) const;
 
   symbol_record_info *long_list (int& count, int sort = 0,
@@ -316,7 +308,11 @@
 
   char **list (int& count, int sort = 0,
 	       unsigned type = SYMTAB_ALL_TYPES,
-	       unsigned scope = SYMTAB_ALL_SCOPES) const;  
+	       unsigned scope = SYMTAB_ALL_SCOPES) const;
+
+  symbol_record **glob (int& count, char *pat = "*",
+			unsigned type = SYMTAB_ALL_TYPES,
+			unsigned scope = SYMTAB_ALL_SCOPES) const;
 
   void push_context (void);
   void pop_context (void);