]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/VfrCompile/Pccts/antlr/mrhoist.c
BaseTools: Remove duplicated words in C tools
[mirror_edk2.git] / BaseTools / Source / C / VfrCompile / Pccts / antlr / mrhoist.c
index b57f5ded846cf1401866858c4a161727d1af9b82..bf3dd18eaf6f737da7d798f2fc3ba92e5dfbfb89 100644 (file)
@@ -714,7 +714,7 @@ Tree *MR_compute_pred_tree_ctxXX(p)
     if (p == NULL) return NULL;\r
 \r
 /* this appears strange: why do we OR the context\r
-   of and AND predicate ?  It is because of the way\r
+   of an AND predicate ?  It is because of the way\r
    that predicates are evaluated: if the context is\r
    wrong then it's the same as if the predicate was\r
    true.  That means that even when one leg of an\r
@@ -1531,7 +1531,7 @@ Predicate * MR_find_in_aSubBlk(alt)
  *      1.  if lookahead for alt i is contained in the lookahead for any\r
  *          alt j then ignore semantic predicate of alt i\r
  *      2.  if lookahead for alt i is not contained in the lookahead for\r
- *          any alt j then add add predicate i to the OR list to be hoisted\r
+ *          any alt j then add predicate i to the OR list to be hoisted\r
  *      3.  if lookahead for alt i overlaps the lookahead for some alt j then\r
  *          add a dummy semantic predicate for alt j\r
  *\r