]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: fix wording in README
authorYury Smolsky <yury@smolsky.by>
Sun, 10 Jun 2018 09:27:47 +0000 (12:27 +0300)
committerRobert Griesemer <gri@golang.org>
Mon, 11 Jun 2018 17:29:30 +0000 (17:29 +0000)
"Syntax analysis" sounds more familiar and fits the
item before, which says "lexical analysis".
If there was specific intention to the original wording,
I, as a reader, would like to see it instead of this
confusing wording.

Change-Id: Id32dbf75300a86b21cb9f35e54526184fe5df6cb
Reviewed-on: https://go-review.googlesource.com/117696
Reviewed-by: Robert Griesemer <gri@golang.org>
src/cmd/compile/README.md

index c8369c7c8cc54c0cce370d3af4bc4d3d3283cab9..b78786e5f252f910071a3284766493b0bc0cca6b 100644 (file)
@@ -26,7 +26,7 @@ little to do with uppercase GC, which stands for garbage collection.
 * `cmd/compile/internal/syntax` (lexer, parser, syntax tree)
 
 In the first phase of compilation, source code is tokenized (lexical analysis),
-parsed (syntactic analyses), and a syntax tree is constructed for each source
+parsed (syntax analysis), and a syntax tree is constructed for each source
 file.
 
 Each syntax tree is an exact representation of the respective source file, with