1
0
mirror of https://github.com/golang/go synced 2024-09-24 11:20:20 -06:00

cmd/compile: fix wording in README

"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>
This commit is contained in:
Yury Smolsky 2018-06-10 12:27:47 +03:00 committed by Robert Griesemer
parent e411bd706d
commit 1de0dcfc7b

View File

@ -26,7 +26,7 @@ little to do with uppercase GC, which stands for garbage collection.
* `cmd/compile/internal/syntax` (lexer, parser, syntax tree) * `cmd/compile/internal/syntax` (lexer, parser, syntax tree)
In the first phase of compilation, source code is tokenized (lexical analysis), 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. file.
Each syntax tree is an exact representation of the respective source file, with Each syntax tree is an exact representation of the respective source file, with