22 const std::string &pattern,
23 const char *header_file,
26 std::istringstream hdr(header_file);
28 while(std::getline(hdr, line))
31 if(
has_prefix(line,
"//") || line.find(pattern) == std::string::npos)
43 const std::ostringstream &s,
47 std::istringstream in(s.str());
77 symbol_tablet::symbolst::const_iterator s_it=
78 new_symbol_table.
symbols.find(identifier);
80 if(s_it==new_symbol_table.
symbols.end())
83 message.
error() <<
"failed to produce built-in symbol '" << identifier
89 symbol_table.
add(s_it->second);
103 const std::string pattern=
' '+
id2string(identifier)+
'(';
105 std::ostringstream s;
113 return convert(identifier, s, symbol_table, mh);
119 return convert(identifier, s, symbol_table, mh);
126 return convert(identifier, s, symbol_table, mh);
133 return convert(identifier, s, symbol_table, mh);
143 return convert(identifier, s, symbol_table, mh);
146 return convert(identifier, s, symbol_table, mh);
149 return convert(identifier, s, symbol_table, mh);
152 return convert(identifier, s, symbol_table, mh);
155 return convert(identifier, s, symbol_table, mh);
158 return convert(identifier, s, symbol_table, mh);
161 return convert(identifier, s, symbol_table, mh);
168 return convert(identifier, s, symbol_table, mh);
171 return convert(identifier, s, symbol_table, mh);
174 return convert(identifier, s, symbol_table, mh);
177 return convert(identifier, s, symbol_table, mh);
180 return convert(identifier, s, symbol_table, mh);
188 return convert(identifier, s, symbol_table, mh);
198 return convert(identifier, s, symbol_table, mh);
205 return convert(identifier, s, symbol_table, mh);