aboutsummaryrefslogtreecommitdiffstats
path: root/docs/layout-of-source-files.rst
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2017-01-02 23:55:29 +0800
committerYoichi Hirai <i@yoichihirai.com>2017-01-02 23:55:29 +0800
commitc014448397e4810fe28461d8dc5d54ba1cd376a4 (patch)
treea2b96490c7e45be029e435a8731e423210b8c041 /docs/layout-of-source-files.rst
parente079b1c53f3bd2a195e3d2cca1f4de13391835bb (diff)
downloaddexon-solidity-c014448397e4810fe28461d8dc5d54ba1cd376a4.tar.gz
dexon-solidity-c014448397e4810fe28461d8dc5d54ba1cd376a4.tar.zst
dexon-solidity-c014448397e4810fe28461d8dc5d54ba1cd376a4.zip
doc: rephrase the case when two remapping keys are applicable
Fixes #1536
Diffstat (limited to 'docs/layout-of-source-files.rst')
-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