projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae860ef
)
[project @ 2000-04-14 09:54:12 by simonmar]
author
simonmar
<unknown>
Fri, 14 Apr 2000 09:54:12 +0000
(09:54 +0000)
committer
simonmar
<unknown>
Fri, 14 Apr 2000 09:54:12 +0000
(09:54 +0000)
fix for interface header regexp; orphan modules weren't being recorded
as such.
ghc/driver/ghc-iface.lprl
patch
|
blob
|
history
diff --git
a/ghc/driver/ghc-iface.lprl
b/ghc/driver/ghc-iface.lprl
index
90424c5
..
f452fa1
100644
(file)
--- a/
ghc/driver/ghc-iface.lprl
+++ b/
ghc/driver/ghc-iface.lprl
@@
-211,7
+211,7
@@
sub readHiFile {
hi_line: while (<HIFILE>) {
next if /^ *$/; # blank line
- if ( /^__interface ("[A-Za-z]*"\s*)([A-Z]\S*) (\d+) (\!)?/ ) {
+ if ( /^__interface ("[A-Za-z]*"\s*)([A-Z]\S*)\s+(\d+)?\s*(\!)?/ ) {
if ( $mod ne 'new' ) {
# Reading old .hi file
$ModuleVersion{$mod} = $3;