aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/anarres/cpp/FileLexerSource.java2
-rw-r--r--src/main/java/org/anarres/cpp/InputLexerSource.java2
-rw-r--r--src/main/java/org/anarres/cpp/Source.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/org/anarres/cpp/FileLexerSource.java b/src/main/java/org/anarres/cpp/FileLexerSource.java
index bd6cbb7..3f5a0d3 100644
--- a/src/main/java/org/anarres/cpp/FileLexerSource.java
+++ b/src/main/java/org/anarres/cpp/FileLexerSource.java
@@ -74,7 +74,7 @@ public class FileLexerSource extends LexerSource {
* This is not necessarily the same as getFile().getPath() in case we are in a chroot.
*/
@Override
- /* pp */ String getPath() {
+ public String getPath() {
return path;
}
diff --git a/src/main/java/org/anarres/cpp/InputLexerSource.java b/src/main/java/org/anarres/cpp/InputLexerSource.java
index fac7c51..5eb8f94 100644
--- a/src/main/java/org/anarres/cpp/InputLexerSource.java
+++ b/src/main/java/org/anarres/cpp/InputLexerSource.java
@@ -48,7 +48,7 @@ public class InputLexerSource extends LexerSource {
}
@Override
- /* pp */ String getPath() {
+ public String getPath() {
return "<standard-input>";
}
diff --git a/src/main/java/org/anarres/cpp/Source.java b/src/main/java/org/anarres/cpp/Source.java
index 291113a..76ee1f2 100644
--- a/src/main/java/org/anarres/cpp/Source.java
+++ b/src/main/java/org/anarres/cpp/Source.java
@@ -130,7 +130,7 @@ public abstract class Source implements Iterable<Token>, Closeable {
* If no Source on the stack is a FileLexerSource, returns null.
*/
@CheckForNull
- /* pp */ String getPath() {
+ public String getPath() {
Source parent = getParent();
if (parent != null)
return parent.getPath();