Skip to content

Commit 261edb6

Browse files
author
Daniel Kroening
authored
Merge pull request #240 from rjmunro/improve-gitignore
Improve gitignore and fix a typo
2 parents a398774 + 47a245d commit 261edb6

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,12 @@ src/big-int/test-bigint.exe
3030

3131
# files stored by editors
3232
*~
33+
34+
# libs downloaded by make [name]-download
3335
libzip/
36+
zlib/
37+
minisat*/
38+
glucose-syrup/
3439

3540
# flex/bison generated files
3641
src/ansi-c/ansi_c_lex.yy.cpp

src/java_bytecode/java_bytecode_convert_method.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ size_t get_variable_slots(const code_typet::parametert &param)
232232
return count_slots(0, param);
233233
}
234234

235-
bool is_contructor(const class_typet::methodt &method)
235+
bool is_constructor(const class_typet::methodt &method)
236236
{
237237
const std::string &name(id2string(method.get_name()));
238238
const std::string::size_type &npos(std::string::npos);
@@ -382,7 +382,7 @@ void java_bytecode_convert_methodt::convert(
382382
method.set(ID_abstract, m.is_abstract);
383383
method.set(ID_is_virtual, is_virtual);
384384

385-
if(is_contructor(method))
385+
if(is_constructor(method))
386386
method.set(ID_constructor, true);
387387

388388
method.type()=member_type;

0 commit comments

Comments
 (0)