diff --git a/libsolidity/grammar.txt b/docs/grammar.txt similarity index 100% rename from libsolidity/grammar.txt rename to docs/grammar.txt diff --git a/docs/miscellaneous.rst b/docs/miscellaneous.rst index 15ff374d2d41..9f733979b41e 100644 --- a/docs/miscellaneous.rst +++ b/docs/miscellaneous.rst @@ -380,4 +380,4 @@ These keywords are reserved in Solidity. They might become part of the syntax in Language Grammar ================ -The entire language grammar is `available here `_. +.. literalinclude:: grammar.txt