aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-01-03 17:30:00 +0800
committerGitHub <noreply@github.com>2017-01-03 17:30:00 +0800
commita45fdf4a0fa6fc79101648900503d62c8b37fe92 (patch)
tree45d09180b55794b8a5cac10bf701142d7062d2ef /docs
parent43a5d11f9aadcdcff4d2f4e63801d29648b43f0d (diff)
parentc014448397e4810fe28461d8dc5d54ba1cd376a4 (diff)
downloaddexon-solidity-a45fdf4a0fa6fc79101648900503d62c8b37fe92.tar.gz
dexon-solidity-a45fdf4a0fa6fc79101648900503d62c8b37fe92.tar.zst
dexon-solidity-a45fdf4a0fa6fc79101648900503d62c8b37fe92.zip
Merge pull request #1538 from ethereum/multi-keys
doc: rephrase the case when two remapping keys are applicable
Diffstat (limited to 'docs')
-rw-r--r--docs/layout-of-source-files.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/layout-of-source-files.rst b/docs/layout-of-source-files.rst
index 17ac8c6f..dff48be3 100644
--- a/docs/layout-of-source-files.rst
+++ b/docs/layout-of-source-files.rst
@@ -96,8 +96,8 @@ Use in Actual Compilers
When the compiler is invoked, it is not only possible to specify how to
discover the first element of a path, but it is possible to specify path prefix
remappings so that e.g. ``github.com/ethereum/dapp-bin/library`` is remapped to
-``/usr/local/dapp-bin/library`` and the compiler will read the files from there. If
-remapping keys are prefixes of each other, the longest is tried first. This
+``/usr/local/dapp-bin/library`` and the compiler will read the files from there.
+If multiple remappings can be applied, the one with the longest key is tried first. This
allows for a "fallback-remapping" with e.g. ``""`` maps to
``"/usr/local/include/solidity"``. Furthermore, these remappings can
depend on the context, which allows you to configure packages to