summaryrefslogtreecommitdiff
path: root/BaseTools/Source/C/VfrCompile/Pccts
diff options
context:
space:
mode:
authorPierre Gondois <pierre.gondois@arm.com>2022-10-03 15:47:31 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-10-16 04:21:29 +0000
commitd618fe05bf93a8884619e9362bfc5636da55e347 (patch)
tree2ce28808120e78a5cebd784c6154652afd9cc120 /BaseTools/Source/C/VfrCompile/Pccts
parent8fc06b6e19e3df93cc989b4f85877d8a7783e5bf (diff)
downloadedk2-d618fe05bf93a8884619e9362bfc5636da55e347.zip
edk2-d618fe05bf93a8884619e9362bfc5636da55e347.tar.gz
edk2-d618fe05bf93a8884619e9362bfc5636da55e347.tar.bz2
BaseTools: Remove duplicated words in C tools
In an effort to clean the documentation of the above package, remove duplicated words. Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Reviewed-by: Bob Feng <bob.c.feng@intel.com> Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Diffstat (limited to 'BaseTools/Source/C/VfrCompile/Pccts')
-rw-r--r--BaseTools/Source/C/VfrCompile/Pccts/antlr/mrhoist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/BaseTools/Source/C/VfrCompile/Pccts/antlr/mrhoist.c b/BaseTools/Source/C/VfrCompile/Pccts/antlr/mrhoist.c
index b57f5de..bf3dd18 100644
--- a/BaseTools/Source/C/VfrCompile/Pccts/antlr/mrhoist.c
+++ b/BaseTools/Source/C/VfrCompile/Pccts/antlr/mrhoist.c
@@ -714,7 +714,7 @@ Tree *MR_compute_pred_tree_ctxXX(p)
if (p == NULL) return NULL;
/* this appears strange: why do we OR the context
- of and AND predicate ? It is because of the way
+ of an AND predicate ? It is because of the way
that predicates are evaluated: if the context is
wrong then it's the same as if the predicate was
true. That means that even when one leg of an
@@ -1531,7 +1531,7 @@ Predicate * MR_find_in_aSubBlk(alt)
* 1. if lookahead for alt i is contained in the lookahead for any
* alt j then ignore semantic predicate of alt i
* 2. if lookahead for alt i is not contained in the lookahead for
- * any alt j then add add predicate i to the OR list to be hoisted
+ * any alt j then add predicate i to the OR list to be hoisted
* 3. if lookahead for alt i overlaps the lookahead for some alt j then
* add a dummy semantic predicate for alt j
*