diff options
author | David Waern <david.waern@gmail.com> | 2010-04-07 17:05:20 +0000 |
---|---|---|
committer | David Waern <david.waern@gmail.com> | 2010-04-07 17:05:20 +0000 |
commit | ae37c71b42a81ad52b96eda5a765b6ade8dfd291 (patch) | |
tree | 80c92b784a7b37b5e8942aeb618b10edeceb5149 /src/Main.hs | |
parent | b5ec4e7d0f847215677752b191677379f045efb0 (diff) |
Propagate source positions from Lex.x to Parse.y
Diffstat (limited to 'src/Main.hs')
-rw-r--r-- | src/Main.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs index 9a7aa47f..571cb25e 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -408,7 +408,7 @@ getPrologue flags = [] -> return Nothing [filename] -> do str <- readFile filename - case parseParas (tokenise str) of + case parseParas (tokenise str (0,0) {- TODO: real position -}) of Nothing -> throwE "parsing haddock prologue failed" Just doc -> return (Just doc) _otherwise -> throwE "multiple -p/--prologue options" |