aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/anarres/cpp/Preprocessor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/anarres/cpp/Preprocessor.java b/src/main/java/org/anarres/cpp/Preprocessor.java
index a790813..59d8ba8 100644
--- a/src/main/java/org/anarres/cpp/Preprocessor.java
+++ b/src/main/java/org/anarres/cpp/Preprocessor.java
@@ -575,7 +575,7 @@ public class Preprocessor implements Closeable {
/* We actually want 'did the nested source
* contain a newline token', which isNumbered()
* approximates. This is not perfect, but works. */
- return line_token(t.getLine() + 1, t.getName(), " 2");
+ return line_token(t.getLine(), t.getName(), " 2");
}
return null;