diff options
-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) { |