Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
BNF description fix
In the following section "name: `lc_letter` (`lc_letter` | "_")*" the section states "a ``name`` is an ``lc_letter`` followed by a sequence of zero or more ``lc_letter``\ s and underscores" there is an issue with the usage of "and" in "``lc_letter``\ s and underscores". While this usage of "and" is not grammatically incorrect in English context, if interpreted by the reader literally in the context of the notation, "``lc_letter``\ s and underscores" would directly translate to (`lc_letter` & "_"), which would entirely change the meaning of that line. Therefore, I would suggest changing "``lc_letter``\ s and underscores" to "``lc_letter``\ s or underscores". Usually I would consider a change to a single word a very minor commit, but a single word can entirely change the meaning in this context.
  • Loading branch information
aeros authored Jul 1, 2019
commit 781418fc322a6e13cc4bb44938231d16af32d005
2 changes: 1 addition & 1 deletion Doc/reference/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ notation. This uses the following style of definition:
lc_letter: "a"..."z"

The first line says that a ``name`` is an ``lc_letter`` followed by a sequence
of zero or more ``lc_letter``\ s and underscores. An ``lc_letter`` in turn is
of zero or more ``lc_letter``\ s or underscores. An ``lc_letter`` in turn is
any of the single characters ``'a'`` through ``'z'``. (This rule is actually
adhered to for the names defined in lexical and grammar rules in this document.)

Expand Down