Fix some commonly made spelling errors in comments.
This commit is contained in:
@@ -1708,7 +1708,7 @@ ExprNode* GenLiteralExpr (long Val)
|
||||
|
||||
|
||||
ExprNode* GenLiteral0 (void)
|
||||
/* Return an expression tree that encodes the the number zero */
|
||||
/* Return an expression tree that encodes the number zero */
|
||||
{
|
||||
return GenLiteralExpr (0);
|
||||
}
|
||||
|
||||
@@ -81,7 +81,7 @@ ExprNode* GenLiteralExpr (long Val);
|
||||
/* Return an expression tree that encodes the given literal value */
|
||||
|
||||
ExprNode* GenLiteral0 (void);
|
||||
/* Return an expression tree that encodes the the number zero */
|
||||
/* Return an expression tree that encodes the number zero */
|
||||
|
||||
ExprNode* GenSymExpr (struct SymEntry* Sym);
|
||||
/* Return an expression node that encodes the given symbol */
|
||||
|
||||
@@ -429,7 +429,7 @@ void ReleaseFullLineInfo (Collection* LineInfos)
|
||||
|
||||
/* Walk over all entries */
|
||||
for (I = 0; I < CollCount (LineInfos); ++I) {
|
||||
/* Release the the line info */
|
||||
/* Release the line info */
|
||||
ReleaseLineInfo (CollAt (LineInfos, I));
|
||||
}
|
||||
|
||||
|
||||
@@ -637,7 +637,7 @@ void MacUndef (const StrBuf* Name, unsigned char Style)
|
||||
|
||||
|
||||
static int MacExpand (void* Data)
|
||||
/* If we're currently expanding a macro, set the the scanner token and
|
||||
/* If we're currently expanding a macro, set the scanner token and
|
||||
** attribute to the next value and return true. If we are not expanding
|
||||
** a macro, return false.
|
||||
*/
|
||||
|
||||
@@ -711,7 +711,7 @@ static void StudyMul (ExprNode* Expr, ExprDesc* D)
|
||||
*/
|
||||
if (ED_IsConst (D) && ED_IsValid (&Right)) {
|
||||
|
||||
/* Multiplicate both, result goes into Right */
|
||||
/* Multiply both, result goes into Right */
|
||||
ED_Mul (&Right, D);
|
||||
|
||||
/* Move result into D */
|
||||
@@ -719,7 +719,7 @@ static void StudyMul (ExprNode* Expr, ExprDesc* D)
|
||||
|
||||
} else if (ED_IsConst (&Right) && ED_IsValid (D)) {
|
||||
|
||||
/* Multiplicate both */
|
||||
/* Multiply both */
|
||||
ED_Mul (D, &Right);
|
||||
|
||||
} else {
|
||||
|
||||
@@ -95,7 +95,7 @@ void FreeCaseNodeColl (Collection* Nodes)
|
||||
int SearchCaseNode (const Collection* Nodes, unsigned char Key, int* Index)
|
||||
/* Search for a node in the given collection. If the node has been found,
|
||||
** set Index to the index of the node and return true. If the node was not
|
||||
** found, set Index the the insertion position of the node and return
|
||||
** found, set Index the insertion position of the node and return
|
||||
** false.
|
||||
*/
|
||||
{
|
||||
|
||||
@@ -116,7 +116,7 @@ void FreeCaseNodeColl (Collection* Nodes);
|
||||
int SearchCaseNode (const Collection* Nodes, unsigned char Key, int* Index);
|
||||
/* Search for a node in the given collection. If the node has been found,
|
||||
** set Index to the index of the node and return true. If the node was not
|
||||
** found, set Index the the insertion position of the node and return
|
||||
** found, set Index to the insertion position of the node and return
|
||||
** false.
|
||||
*/
|
||||
|
||||
|
||||
@@ -1409,7 +1409,7 @@ static unsigned g_intpromotion (unsigned flags)
|
||||
unsigned g_typeadjust (unsigned lhs, unsigned rhs)
|
||||
/* Adjust the integer operands before doing a binary operation. lhs is a flags
|
||||
** value, that corresponds to the value on TOS, rhs corresponds to the value
|
||||
** in (e)ax. The return value is the the flags value for the resulting type.
|
||||
** in (e)ax. The return value is the flags value for the resulting type.
|
||||
*/
|
||||
{
|
||||
/* Get the type spec from the flags */
|
||||
|
||||
@@ -217,7 +217,7 @@ void g_reglong (unsigned Flags);
|
||||
unsigned g_typeadjust (unsigned lhs, unsigned rhs);
|
||||
/* Adjust the integer operands before doing a binary operation. lhs is a flags
|
||||
** value, that corresponds to the value on TOS, rhs corresponds to the value
|
||||
** in (e)ax. The return value is the the flags value for the resulting type.
|
||||
** in (e)ax. The return value is the flags value for the resulting type.
|
||||
*/
|
||||
|
||||
unsigned g_typecast (unsigned lhs, unsigned rhs);
|
||||
|
||||
@@ -846,7 +846,7 @@ static unsigned FunctionArgList (FuncDesc* Func, int IsFastcall, ExprDesc* ED)
|
||||
/* The function returns the size of all arguments pushed onto the stack.
|
||||
** However, if there are parameters missed (which is an error, and was
|
||||
** flagged by the compiler), AND a stack frame was preallocated above,
|
||||
** we would loose track of the stackpointer, and generate an internal error
|
||||
** we would lose track of the stackpointer, and generate an internal error
|
||||
** later. So we correct the value by the parameters that should have been
|
||||
** pushed into, to avoid an internal compiler error. Since an error was
|
||||
** generated before, no code will be output anyway.
|
||||
|
||||
@@ -538,7 +538,7 @@ static void AssembleFile (const char* File, unsigned ArgCount)
|
||||
/* Check if this is the last processing step */
|
||||
if (DoLink) {
|
||||
/* We're linking later. Add the output file of the assembly
|
||||
** the the file list of the linker. The name of the output
|
||||
** to the file list of the linker. The name of the output
|
||||
** file is that of the input file with ".s" replaced by ".o".
|
||||
*/
|
||||
char* ObjName = MakeFilename (File, ".o");
|
||||
@@ -1627,7 +1627,7 @@ int main (int argc, char* argv [])
|
||||
break;
|
||||
|
||||
case FILETYPE_O65:
|
||||
/* Add the the object file converter files */
|
||||
/* Add the object file converter files */
|
||||
ConvertO65 (Arg);
|
||||
break;
|
||||
|
||||
|
||||
@@ -134,7 +134,7 @@ Float FP_F_Sub (Float Left, Float Right)
|
||||
|
||||
|
||||
Float FP_F_Mul (Float Left, Float Right)
|
||||
/* Multiplicate two floats */
|
||||
/* Multiply two floats */
|
||||
{
|
||||
Float D;
|
||||
D.V = Left.V * Right.V;
|
||||
@@ -220,7 +220,7 @@ Double FP_D_Sub (Double Left, Double Right)
|
||||
|
||||
|
||||
Double FP_D_Mul (Double Left, Double Right)
|
||||
/* Multiplicate two floats */
|
||||
/* Multiply two floats */
|
||||
{
|
||||
Double D;
|
||||
D.V = Left.V * Right.V;
|
||||
|
||||
@@ -102,7 +102,7 @@ Float FP_F_Sub (Float Left, Float Right);
|
||||
/* Subtract two floats */
|
||||
|
||||
Float FP_F_Mul (Float Left, Float Right);
|
||||
/* Multiplicate two floats */
|
||||
/* Multiply two floats */
|
||||
|
||||
Float FP_F_Div (Float Left, Float Right);
|
||||
/* Divide two floats */
|
||||
@@ -129,7 +129,7 @@ Double FP_D_Sub (Double Left, Double Right);
|
||||
/* Subtract two floats */
|
||||
|
||||
Double FP_D_Mul (Double Left, Double Right);
|
||||
/* Multiplicate two floats */
|
||||
/* Multiply two floats */
|
||||
|
||||
Double FP_D_Div (Double Left, Double Right);
|
||||
/* Divide two floats */
|
||||
|
||||
Reference in New Issue
Block a user