mirror of
https://gitlab.com/camelot/kickc.git
synced 2025-02-04 00:30:43 +00:00
Improved log output slightly.
This commit is contained in:
parent
f117db148d
commit
0995c29f0f
@ -38,7 +38,7 @@ public class PointerDereferenceIndexed implements PointerDereference {
|
|||||||
@Override
|
@Override
|
||||||
public String toString(Program program) {
|
public String toString(Program program) {
|
||||||
String pointerString = pointer.toString(program);
|
String pointerString = pointer.toString(program);
|
||||||
if(!pointerString.matches("[a-zA-Z0-9:#$]*"))
|
if(!pointerString.matches("[a-zA-Z0-9:#$_]*"))
|
||||||
pointerString = "(" + pointerString + ")";
|
pointerString = "(" + pointerString + ")";
|
||||||
return pointerString + "[" + index.toString(program) + ']';
|
return pointerString + "[" + index.toString(program) + ']';
|
||||||
}
|
}
|
||||||
|
@ -1906,7 +1906,7 @@ public class TestPrograms {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testInitializer5() throws IOException, URISyntaxException {
|
public void testInitializer5() throws IOException, URISyntaxException {
|
||||||
compileAndCompare("initializer-5.c", log());
|
compileAndCompare("initializer-5.c");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -4317,7 +4317,7 @@ public class TestPrograms {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testIncD0202() throws IOException, URISyntaxException {
|
public void testIncD0202() throws IOException, URISyntaxException {
|
||||||
compileAndCompare("incd020-2.c", log());
|
compileAndCompare("incd020-2.c");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user