comparison src/pt-id.cc @ 3523:b80bbb43a1a9

[project @ 2000-02-02 10:25:52 by jwe]
author jwe
date Wed, 02 Feb 2000 10:26:25 +0000
parents a3556d2adec9
children 096ad38d7ab5
comparison
equal deleted inserted replaced
3522:bd422cf62f0c 3523:b80bbb43a1a9
42 // Symbols from the symbol table. 42 // Symbols from the symbol table.
43 43
44 string 44 string
45 tree_identifier::name (void) const 45 tree_identifier::name (void) const
46 { 46 {
47 string retval; 47 std::string retval;
48 if (sym) 48 if (sym)
49 retval = sym->name (); 49 retval = sym->name ();
50 return retval; 50 return retval;
51 } 51 }
52 52
56 int status = sym->define (f, sym_type); 56 int status = sym->define (f, sym_type);
57 return status ? this : 0; 57 return status ? this : 0;
58 } 58 }
59 59
60 void 60 void
61 tree_identifier::document (const string& s) 61 tree_identifier::document (const std::string& s)
62 { 62 {
63 if (sym) 63 if (sym)
64 sym->document (s); 64 sym->document (s);
65 } 65 }
66 66