Index: flang/docs/Extensions.md =================================================================== --- flang/docs/Extensions.md +++ flang/docs/Extensions.md @@ -92,7 +92,7 @@ for the default kind of INTEGER are assumed to have the least larger kind that can hold them, if one exists. * BOZ literals can be used as INTEGER values in contexts where the type is - unambiguous: the right hand sides of assigments and initializations + unambiguous: the right hand sides of assignments and initializations of INTEGER entities, and as actual arguments to a few intrinsic functions (ACHAR, BTEST, CHAR). But they cannot be used if the type would not be known (e.g., `IAND(X'1',X'2')`). @@ -176,7 +176,7 @@ * NULL() as a structure constructor expression for an ALLOCATABLE component (PGI). * Conversion of LOGICAL to INTEGER in expressions. * IF (integer expression) THEN ... END IF (PGI/Intel) -* Comparsion of LOGICAL with ==/.EQ. rather than .EQV. (also .NEQV.) (PGI/Intel) +* Comparison of LOGICAL with ==/.EQ. rather than .EQV. (also .NEQV.) (PGI/Intel) * Procedure pointers in COMMON blocks (PGI/Intel) * Underindexing multi-dimensional arrays (e.g., A(1) rather than A(1,1)) (PGI only) * Legacy PGI `NCHARACTER` type and `NC` Kanji character literals