diff --git a/grammar/abnf-grammar.txt b/grammar/abnf-grammar.txt index 8879db4002..944533666f 100644 --- a/grammar/abnf-grammar.txt +++ b/grammar/abnf-grammar.txt @@ -4,26 +4,6 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -; Format Note -; ----------- - -; The ABNF standard requires grammars to consist of lines terminated by CR LF -; (i.e. carriage return followed by line feed, DOS/Windows-style), -; as explained in the background on ABNF later in this file. -; This file's lines are therefore terminated by CR LF. -; To avoid losing this requirement across systems, -; this file is marked as 'text eol=crlf' in .gitattributes: -; this means that the file is textual, enabling visual diffs, -; but its lines will always be terminated by CR LF on any system. - -; Note that this CR LF requirement only applies to the grammar files themselves. -; It does not apply to the lines of the languages described by the grammar. -; ABNF grammars may describe any kind of languages, -; with any kind of line terminators, -; or even without line terminators at all (e.g. for "binary" languages). - -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - ; Introduction ; ------------ @@ -1021,3 +1001,23 @@ declaration = import-declaration / circuit-declaration file = *declaration + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +; Format Note +; ----------- + +; The ABNF standard requires grammars to consist of lines terminated by CR LF +; (i.e. carriage return followed by line feed, DOS/Windows-style), +; as explained in the background on ABNF earlier in this file. +; This file's lines are therefore terminated by CR LF. +; To avoid losing this requirement across systems, +; this file is marked as 'text eol=crlf' in .gitattributes: +; this means that the file is textual, enabling visual diffs, +; but its lines will always be terminated by CR LF on any system. + +; Note that this CR LF requirement only applies to the grammar files themselves. +; It does not apply to the lines of the languages described by the grammar. +; ABNF grammars may describe any kind of languages, +; with any kind of line terminators, +; or even without line terminators at all (e.g. for "binary" languages).