summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/compiler.sml3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler.sml b/src/compiler.sml
index 75e98364..6c88010b 100644
--- a/src/compiler.sml
+++ b/src/compiler.sml
@@ -497,7 +497,8 @@ fun parseUrp' accLibs fname =
in
readSources acc
end
- | _ => rev acc
+ | OnlyComment => readSources acc
+ | EndOfFile => rev acc
val prefix = ref (case Settings.getUrlPrefix () of "/" => NONE | s => SOME s)
val database = ref (Settings.getDbstring ())