Skip to content

Commit ecf00cb

Browse files
committed
Updates requested in the PR diffblue#88.
1 parent 0aed674 commit ecf00cb

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

src/summaries/summary_dump.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,6 @@ std::string dump_function_body_in_html(
236236
" <th>Name</th>\n"
237237
" <th>Type</th>\n"
238238
" </tr>\n";
239-
assert(ns.get_symbol_table().has_symbol(raw_fn_name));
240239
const symbolt &fn_symbol=ns.lookup(raw_fn_name);
241240
const code_typet &fn_type=to_code_type(fn_symbol.type);
242241
for(std::size_t i=0UL, n=fn_type.parameters().size(); i!=n; ++i)
@@ -254,9 +253,8 @@ std::string dump_function_body_in_html(
254253
ostr << "<p></p>\n";
255254

256255
ostr << "<table>\n"
257-
" <caption>Instructions of the funtion. The symbol 'N/A' stands "
258-
"for 'not available'. Column 'Loc' shows program locations. "
259-
"All numbers are decimal.</caption>\n"
256+
" <caption>Instructions of the function. Column 'Loc' shows program "
257+
"locations. All numbers are decimal.</caption>\n"
260258
" <tr>\n"
261259
" <th>Loc</th>\n"
262260
" <th>Targets</th>\n"

src/summaries/summary_dump.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Function: dump_function_body_in_html
5353
5454
Outputs: See purpose
5555
56-
Purpose:
56+
Purpose: This function dumps the specified function in HTML format.
5757
5858
5959
\*******************************************************************/
@@ -262,8 +262,7 @@ void dump_access_path_in_html(
262262
\*******************************************************************/
263263
void dump_html_prefix(
264264
std::ostream &ostr,
265-
const std::string &page_name = ""
266-
);
265+
const std::string &page_name = "");
267266

268267
/*******************************************************************\
269268

0 commit comments

Comments
 (0)