projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add -package-id, improve package shadowing behaviour and error messages
[ghc-hetmet.git]
/
compiler
/
main
/
ParsePkgConf.y
diff --git
a/compiler/main/ParsePkgConf.y
b/compiler/main/ParsePkgConf.y
index
d05a6d5
..
4950b5f
100644
(file)
--- a/
compiler/main/ParsePkgConf.y
+++ b/
compiler/main/ParsePkgConf.y
@@
-62,7
+62,7
@@
fields :: { PackageConfig -> PackageConfig }
field :: { PackageConfig -> PackageConfig }
: VARID '=' pkgid
{% case unpackFS $1 of
- "package" -> return (\p -> p{package = $3})
+ "sourcePackageId" -> return (\p -> p{sourcePackageId = $3})
_ -> happyError
}