Browse Source

* fix typos in comments, no code changes

Sven/Sarah Barth 3 years ago
parent
commit
3f14a19d3e
2 changed files with 2 additions and 2 deletions
  1. 1 1
      compiler/pdecl.pas
  2. 1 1
      compiler/pdecobj.pas

+ 1 - 1
compiler/pdecl.pas

@@ -786,7 +786,7 @@ implementation
 
            { is the type already defined? -- must be in the current symtable,
              not in a nested symtable or one higher up the stack -> don't
-             use searchsym & frinds! }
+             use searchsym & friends! }
            sym:=tsym(symtablestack.top.find(gentypename));
            newtype:=nil;
            { found a symbol with this name? }

+ 1 - 1
compiler/pdecobj.pas

@@ -1607,7 +1607,7 @@ implementation
             parse_generic:=(df_generic in current_structdef.defoptions);
 
             { in non-Delphi modes we need a strict private symbol without type
-              count and type parameters in the name to simply resolving }
+              count and type parameters in the name to simplify resolving }
             maybe_insert_generic_rename_symbol(n,genericlist);
 
             { parse list of parent classes }