aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/grammar.txt2
-rw-r--r--docs/using-the-compiler.rst2
2 files changed, 3 insertions, 1 deletions
diff --git a/docs/grammar.txt b/docs/grammar.txt
index 809fcffc..43ef07a9 100644
--- a/docs/grammar.txt
+++ b/docs/grammar.txt
@@ -131,7 +131,7 @@ HexLiteral = 'hex' ('"' ([0-9a-fA-F]{2})* '"' | '\'' ([0-9a-fA-F]{2})* '\'')
StringLiteral = '"' ([^"\r\n\\] | '\\' .)* '"'
Identifier = [a-zA-Z_$] [a-zA-Z_$0-9]*
-HexNumber = '0x' [0-9a-fA-F]+
+HexNumber = '0' [xX] [0-9a-fA-F]+
DecimalNumber = [0-9]+ ( '.' [0-9]* )? ( [eE] [0-9]+ )?
TupleExpression = '(' ( Expression? ( ',' Expression? )* )? ')'
diff --git a/docs/using-the-compiler.rst b/docs/using-the-compiler.rst
index b286e1a3..0a64d840 100644
--- a/docs/using-the-compiler.rst
+++ b/docs/using-the-compiler.rst
@@ -83,6 +83,8 @@ Input Description
[
"bzzr://56ab...",
"ipfs://Qma...",
+ // If files are used, their directories should be added to the command line via
+ // `--allow-paths <path>`.
"file:///tmp/path/to/file.sol"
]
},