diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2016-07-08 20:53:27 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2016-07-08 20:53:27 +0200 |
commit | 2b0d797cafafbd915d7191efdde3e708a1163b91 (patch) | |
tree | 2e24ade1412a16d8ad10814a117eb1518f0fa5cc /cmake/elfinfo/src/main/test/io | |
parent | c7fb7dfd794700bf6977a907a8612e9b644e4fe4 (diff) | |
download | intel-quark-d2000-playground-2b0d797cafafbd915d7191efdde3e708a1163b91.tar.gz intel-quark-d2000-playground-2b0d797cafafbd915d7191efdde3e708a1163b91.tar.bz2 intel-quark-d2000-playground-2b0d797cafafbd915d7191efdde3e708a1163b91.tar.xz intel-quark-d2000-playground-2b0d797cafafbd915d7191efdde3e708a1163b91.zip |
o Refactoring visitors into listeners, that is the only variant the C++ target supports. Ready for translation!
Diffstat (limited to 'cmake/elfinfo/src/main/test/io')
-rw-r--r-- | cmake/elfinfo/src/main/test/io/trygvis/ld/FullScriptsTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/elfinfo/src/main/test/io/trygvis/ld/FullScriptsTest.java b/cmake/elfinfo/src/main/test/io/trygvis/ld/FullScriptsTest.java index 1452f1f..0c5a30c 100644 --- a/cmake/elfinfo/src/main/test/io/trygvis/ld/FullScriptsTest.java +++ b/cmake/elfinfo/src/main/test/io/trygvis/ld/FullScriptsTest.java @@ -19,13 +19,13 @@ public class FullScriptsTest { private void fullScript2(String fileName) throws Exception { try { - LdScript script = LdScript.parse(new File(fileName)); + LdLoader script = LdLoader.load(new File(fileName)); System.out.println("--------------------------------------------------------"); - for (LdScript.MemoryArea area : script.memoryAreas) { + for (LdLoader.MemoryArea area : script.memoryAreas) { System.out.println(" " + area.name + "(" + area.prettyAttributes() + ") : ORIGIN = " + area.prettyOrigin() + ", LENGTH=" + area.prettyLength()); } - } catch (LdScript.ParseErrorException e) { + } catch (LdLoader.ParseErrorException e) { Test1Test.showTokens(e.tokens, e.parser); System.out.println("Got " + e.errors.size() + " errors:"); e.errors.forEach(System.out::println); |