Skip to content

Commit a3537ea

Browse files
committed
Change "syntax" to "grammar".
Annex A is a summary of grammar, but not only syntactic grammar. Even in contexts without need of grammatical disambiguation, pure syntactically handling (reduction merely based on parsing of the token stream without semantic information) of several context-sensitive constructs (e.g. constant-expression and several kinds of type-id) has already been insufficient. Since the remained difference is acknowledged in the same paragraph, I think my change is also editorial. (On the contrary, ISO C may have more problems because it uses "syntax" everywhere.)
1 parent 4c8f1a7 commit a3537ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/grammar.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
\pnum
66
\indextext{grammar}%
77
\indextext{summary!syntax}%
8-
This summary of \Cpp\ syntax is intended to be an aid to comprehension.
8+
This summary of \Cpp\ grammar is intended to be an aid to comprehension.
99
It is not an exact statement of the language.
1010
In particular, the grammar described here accepts
1111
a superset of valid \Cpp\ constructs.

0 commit comments

Comments
 (0)