From c18a23ec3d2a6ba1f9aa0890b96c7fd13eb15864 Mon Sep 17 00:00:00 2001 From: Shevek Date: Sat, 28 Dec 2013 03:47:35 -0800 Subject: Mark include() as protected to allow jnaerator to call it. --- src/main/java/org/anarres/cpp/Preprocessor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main') 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 path, String name) + protected boolean include(@Nonnull Iterable path, @Nonnull String name) throws IOException, LexerException { for (String dir : path) { -- cgit v1.2.3