diff options
author | Shevek <[email protected]> | 2013-12-28 03:47:35 -0800 |
---|---|---|
committer | Shevek <[email protected]> | 2013-12-28 03:47:35 -0800 |
commit | c18a23ec3d2a6ba1f9aa0890b96c7fd13eb15864 (patch) | |
tree | 348a7bf7158d2c27ed48027d607c4d7b09dded8f /src | |
parent | aff8211f1af04eb56f123ad1358a2f8d6c23b778 (diff) |
Mark include() as protected to allow jnaerator to call it.
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/anarres/cpp/Preprocessor.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/anarres/cpp/Preprocessor.java b/src/main/java/org/anarres/cpp/Preprocessor.java index 35480b2..9a104a8 100644 --- a/src/main/java/org/anarres/cpp/Preprocessor.java +++ b/src/main/java/org/anarres/cpp/Preprocessor.java @@ -1046,7 +1046,7 @@ public class Preprocessor implements Closeable { * User code may override this method to implement a virtual * file system. */ - private boolean include(VirtualFile file) + protected boolean include(@Nonnull VirtualFile file) throws IOException, LexerException { // System.out.println("Try to include " + ((File)file).getAbsolutePath()); @@ -1061,7 +1061,7 @@ public class Preprocessor implements Closeable { /** * Includes a file from an include path, by name. */ - private boolean include(Iterable<String> path, String name) + protected boolean include(@Nonnull Iterable<String> path, @Nonnull String name) throws IOException, LexerException { for (String dir : path) { |