diff options
Diffstat (limited to 'src/java/com/jogamp/gluegen/pcpp')
-rw-r--r-- | src/java/com/jogamp/gluegen/pcpp/PCPP.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/com/jogamp/gluegen/pcpp/PCPP.java b/src/java/com/jogamp/gluegen/pcpp/PCPP.java index 45a92df..59807b2 100644 --- a/src/java/com/jogamp/gluegen/pcpp/PCPP.java +++ b/src/java/com/jogamp/gluegen/pcpp/PCPP.java @@ -319,11 +319,11 @@ public class PCPP { } private String filename() { - return state.filename(); + return (null != state) ? state.filename() : null; } private int lineNumber() { - return state.lineNumber(); + return (null != state) ? state.lineNumber() : -1; } ///////////// |