diff options
author | Shevek <[email protected]> | 2008-05-07 22:06:53 +0000 |
---|---|---|
committer | Shevek <[email protected]> | 2008-05-07 22:06:53 +0000 |
commit | 4f32369bf3db4c2b62507a3473bf4c012b2b6871 (patch) | |
tree | 78abf8b68e45992b43482280a13d4b2651d5cd65 /src/java/org/anarres/cpp/FileLexerSource.java | |
parent | a857c3d76feb46c758cbcca8064a90a9a3c88c5c (diff) |
more towards 2.0
Diffstat (limited to 'src/java/org/anarres/cpp/FileLexerSource.java')
-rw-r--r-- | src/java/org/anarres/cpp/FileLexerSource.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/java/org/anarres/cpp/FileLexerSource.java b/src/java/org/anarres/cpp/FileLexerSource.java index 9f574a0..3cf8604 100644 --- a/src/java/org/anarres/cpp/FileLexerSource.java +++ b/src/java/org/anarres/cpp/FileLexerSource.java @@ -58,6 +58,11 @@ public class FileLexerSource extends LexerSource { this.file = file; } + public FileLexerSource(String path) + throws IOException { + this(new File(path)); + } + @Override /* pp */ File getFile() { return file; |