Skip to content

Commit 573437d

Browse files
author
Daniel Kroening
committed
Merge pull request #56 from tautschnig/java-cleanup
Java bytecode: use expr2java instead of expr2c, formatting fix
2 parents 518f87d + 32b6700 commit 573437d

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/java_bytecode/java_bytecode_typecheck.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ Author: Daniel Kroening, [email protected]
1010
#include <util/prefix.h>
1111
#include <util/config.h>
1212

13-
#include <ansi-c/expr2c.h>
14-
13+
#include "expr2java.h"
1514
#include "java_bytecode_typecheck.h"
1615

1716
/*******************************************************************\
@@ -28,7 +27,7 @@ Function: java_bytecode_typecheckt::to_string
2827

2928
std::string java_bytecode_typecheckt::to_string(const exprt &expr)
3029
{
31-
return expr2c(expr, ns);
30+
return expr2java(expr, ns);
3231
}
3332

3433
/*******************************************************************\
@@ -45,7 +44,7 @@ Function: java_bytecode_typecheckt::to_string
4544

4645
std::string java_bytecode_typecheckt::to_string(const typet &type)
4746
{
48-
return type2c(type, ns);
47+
return type2java(type, ns);
4948
}
5049

5150
/*******************************************************************\

src/java_bytecode/java_entry_point.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
/*******************************************************************
2-
Module:
1+
/*******************************************************************\
32
4-
Author: Daniel Kroening, [email protected]
3+
Module:
54
6-
\*******************************************************************/
5+
Author: Daniel Kroening, [email protected]
6+
7+
\*******************************************************************/
78

89
#ifndef CPROVER_JAVA_ENTRY_POINT_H
910
#define CPROVER_JAVA_ENTRY_POINT_H

0 commit comments

Comments
 (0)