diff options
-rw-r--r-- | src/java/org/anarres/cpp/StringLexerSource.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/java/org/anarres/cpp/StringLexerSource.java b/src/java/org/anarres/cpp/StringLexerSource.java index 2bf35f8..2285097 100644 --- a/src/java/org/anarres/cpp/StringLexerSource.java +++ b/src/java/org/anarres/cpp/StringLexerSource.java @@ -40,8 +40,7 @@ public class StringLexerSource extends LexerSource { * @param ppvalid true if preprocessor directives are to be * honoured within the string. */ - public StringLexerSource(String string, boolean ppvalid) - throws IOException { + public StringLexerSource(String string, boolean ppvalid) { super(new StringReader(string), ppvalid); } @@ -51,8 +50,7 @@ public class StringLexerSource extends LexerSource { * By default, preprocessor directives are not honoured within * the string. */ - public StringLexerSource(String string) - throws IOException { + public StringLexerSource(String string) { this(string, false); } |