Skip to content

Commit

Permalink
Fix some typos
Browse files Browse the repository at this point in the history
while on it, remove unneeded white spaces.

Signed-off-by: Elyes HAOUAS <[email protected]>
  • Loading branch information
ElyesH committed Jan 9, 2022
1 parent 3f9fc2a commit cdf7ad0
Show file tree
Hide file tree
Showing 55 changed files with 179 additions and 179 deletions.
8 changes: 4 additions & 4 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Sat Nov 10 21:55:19 2007 -0800 Charles Crayne
Sat Nov 10 17:52:23 2007 -0800 Charles Crayne
* Clean up a few more 32-bit bottlenecks
Fri Nov 9 16:37:41 2007 -0800 Charles Crayne
* Update documantation for stack relative directives
* Update documentation for stack relative directives
Fri Nov 9 16:33:54 2007 -0800 Charles Crayne
* Merge branch 'master' of /home/chuck/development/gitnasm/
Fri Nov 9 16:25:43 2007 -0800 Charles Crayne
Expand Down Expand Up @@ -1030,7 +1030,7 @@ Sat Nov 10 21:55:19 2007 -0800 Charles Crayne
Sat Nov 10 17:52:23 2007 -0800 Charles Crayne
* Clean up a few more 32-bit bottlenecks
Fri Nov 9 16:37:41 2007 -0800 Charles Crayne
* Update documantation for stack relative directives
* Update documentation for stack relative directives
Fri Nov 9 16:33:54 2007 -0800 Charles Crayne
* Merge branch 'master' of /home/chuck/development/gitnasm/
Fri Nov 9 16:25:43 2007 -0800 Charles Crayne
Expand Down Expand Up @@ -1903,7 +1903,7 @@ Sat Nov 10 21:55:19 2007 -0800 Charles Crayne
Sat Nov 10 17:52:23 2007 -0800 Charles Crayne
* Clean up a few more 32-bit bottlenecks
Fri Nov 9 16:37:41 2007 -0800 Charles Crayne
* Update documantation for stack relative directives
* Update documentation for stack relative directives
Fri Nov 9 16:33:54 2007 -0800 Charles Crayne
* Merge branch 'master' of /home/chuck/development/gitnasm/
Fri Nov 9 16:25:43 2007 -0800 Charles Crayne
Expand Down Expand Up @@ -2851,7 +2851,7 @@ Thu Apr 12 16:12:09 2007 +0000 H. Peter Anvin
* (*.c): added c99 data-type compliance and <inttypes.h> inclusion.
* (*.pl): added c99 data-type compliance and <inttypes.h> inclusion.
* (*.h): added c99 data-type compliance.
* (assemble.h): fixed procedure defintions to sync with respective
* (assemble.h): fixed procedure definitions to sync with respective
procedure declarations.

2002-05-16 Ed Beroset <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ $ make install_everything
to install everything =)


Thats it, enjoy!
That's it, enjoy!


2. Installing NASM from source (Windows - MS Visual C++)
Expand Down
2 changes: 1 addition & 1 deletion asm/assemble.c
Original file line number Diff line number Diff line change
Expand Up @@ -3244,7 +3244,7 @@ static int process_ea(operand *input, ea *output, int bits,
/*
* The type parsed might not match one supplied by
* a caller. In this case exit with error and let
* the caller to deside how critical it is.
* the caller to decide how critical it is.
*/
if (output->type != expected)
goto err_set_msg;
Expand Down
2 changes: 1 addition & 1 deletion asm/error.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ void reset_warnings(void)
*
* Special pseudo-warnings:
*
*!other [on] any warning not specifially mentioned above
*!other [on] any warning not specifically mentioned above
*! specifies any warning not included in any specific warning class.
*
*!all [all] all possible warnings
Expand Down
4 changes: 2 additions & 2 deletions asm/nasm.c
Original file line number Diff line number Diff line change
Expand Up @@ -2235,7 +2235,7 @@ static void help(FILE *out)
" -o outfile write output to outfile\n"
" --keep-all output files will not be removed even if an error happens\n"
"\n"
" -Xformat specifiy error reporting format (gnu or vc)\n"
" -Xformat specify error reporting format (gnu or vc)\n"
" -s redirect error messages to stdout\n"
" -Zfile redirect error messages to file\n"
"\n"
Expand Down Expand Up @@ -2265,7 +2265,7 @@ static void help(FILE *out)
" -Ld show byte and repeat counts in decimal, not hex\n"
" -Le show the preprocessed output\n"
" -Lf ignore .nolist (force output)\n"
" -Lm show multi-line macro calls with expanded parmeters\n"
" -Lm show multi-line macro calls with expanded parameters\n"
" -Lp output a list file every pass, in case of errors\n"
" -Ls show all single-line macro definitions\n"
" -Lw flush the output after every line (very slow!)\n"
Expand Down
2 changes: 1 addition & 1 deletion asm/pptok.pl
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@

my %tasmtokens = ();
foreach $pt (@tasm) {
# TASM compatiblity token
# TASM compatibility token
$nasmt = '%'.$pt;
if (!defined($tokens{$nasmt})) {
die "$in: TASM compat token $pt does not have a ".
Expand Down
18 changes: 9 additions & 9 deletions asm/preproc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1118,7 +1118,7 @@ hash_findix(struct hash_table *hash, const char *str)
}

/*
* read line from standart macros set,
* read line from standard macros set,
* if there no more left -- return NULL
*/
static char *line_from_stdmac(void)
Expand Down Expand Up @@ -2774,7 +2774,7 @@ smacro_expand_default(const SMacro *s, Token **params, int nparams)
}

/*
* Emit a macro defintion or undef to the listing file or debug format
* Emit a macro definition or undef to the listing file or debug format
* if desired. This is similar to detoken(), but it handles the
* reverse expansion list, does not expand %! or local variable
* tokens, and does some special handling for macro parameters.
Expand Down Expand Up @@ -3265,7 +3265,7 @@ static bool parse_mmacro_spec(Token *tline, MMacro *def, const char *directive)
*comma = NULL;
def->ndefs--;
nasm_warn(WARN_MACRO_PARAMS_LEGACY,
"dropping trailing empty default parameter in defintion of multi-line macro `%s'",
"dropping trailing empty default parameter in definition of multi-line macro `%s'",
def->name);
}
} else {
Expand Down Expand Up @@ -3479,7 +3479,7 @@ static int line_directive(Token *origline, Token *tline)
const char *fname;
/*
* If this is a quoted string, ignore anything after
* it; this allows for compatiblity with gcc's
* it; this allows for compatibility with gcc's
* additional flags options.
*/

Expand Down Expand Up @@ -3601,7 +3601,7 @@ static int do_directive(Token *tline, Token **output)
*output = NULL; /* No output generated */
origline = tline;

/* cpp-like line directive, must not be preceeded by whitespace */
/* cpp-like line directive, must not be preceded by whitespace */
if (tok_is(tline, '#'))
return line_directive(origline, tline);

Expand Down Expand Up @@ -3754,7 +3754,7 @@ static int do_directive(Token *tline, Token **output)
const char *arg;

/* Directive to tell NASM what the default stack size is. The
* default is for a 16-bit stack, and this can be overriden with
* default is for a 16-bit stack, and this can be overridden with
* %stacksize large.
*/
tline = skip_white(tline->next);
Expand Down Expand Up @@ -4942,7 +4942,7 @@ static inline bool pp_concat_match(const Token *t, enum concat_flags mask)
}

/*
* This routines walks over tokens strem and handles tokens
* This routines walks over tokens stream and handles tokens
* pasting, if @handle_explicit passed then explicit pasting
* term is handled, otherwise -- implicit pastings only.
* The @m array can contain a series of token types which are
Expand Down Expand Up @@ -6365,7 +6365,7 @@ static void list_mmacro_call(const MMacro *m)
*p++ = ',';
}

*--p = '\0'; /* Replace last delimeter with null */
*--p = '\0'; /* Replace last delimiter with null */
lfmt->line(LIST_MACRO, -1, buf);
nasm_free(buf);
}
Expand Down Expand Up @@ -6966,7 +6966,7 @@ static void pp_reset_stdmac(enum preproc_mode mode)
* 0 = dependencies only
* 1 = preparatory passes
* 2 = final pass
* 3 = preproces only
* 3 = preprocess only
*/
switch (mode) {
case PP_NORMAL:
Expand Down
2 changes: 1 addition & 1 deletion asm/quote.c
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ size_t nasm_unquote(char *str, char **ep)
}

/*
* Unquote a string indended to be used as a C string; most control
* Unquote a string intended to be used as a C string; most control
* characters are rejected, including whitespace characters that
* would imply line endings and so on.
*/
Expand Down
2 changes: 1 addition & 1 deletion asm/warnings.pl
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ sub find_warnings {
doc => [], file => $infile, line => $nline};

if (defined(my $that = $aliases{$name})) {
# Duplicate defintion?!
# Duplicate definition?!
printf STDERR "%s:%s: warning %s previously defined at %s:%s\n",
$infile, $nline, $name, $that->{file}, $that->{line};
} else {
Expand Down
8 changes: 4 additions & 4 deletions autoconf/helpers/config.sub
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ case $1 in
esac
;;
*-*)
# A lone config we happen to match not fitting any patern
# A lone config we happen to match not fitting any pattern
case $field1-$field2 in
decstation-3100)
basic_machine=mips-dec
Expand Down Expand Up @@ -950,7 +950,7 @@ unset -v basic_machine

# Decode basic machines in the full and proper CPU-Company form.
case $cpu-$vendor in
# Here we handle the default manufacturer of certain CPU types in cannonical form. It is in
# Here we handle the default manufacturer of certain CPU types in canonical form. It is in
# some cases the only manufacturer, in others, it is the most popular.
craynv-unknown)
vendor=cray
Expand Down Expand Up @@ -1101,7 +1101,7 @@ case $cpu-$vendor in
cpu=`echo "$cpu" | sed 's/^xscale/arm/'`
;;

# Recognize the cannonical CPU Types that limit and/or modify the
# Recognize the canonical CPU Types that limit and/or modify the
# company names they are paired with.
cr16-*)
os=${os:-elf}
Expand Down Expand Up @@ -1150,7 +1150,7 @@ case $cpu-$vendor in
;;

*)
# Recognize the cannonical CPU types that are allowed with any
# Recognize the canonical CPU types that are allowed with any
# company name.
case $cpu in
1750a | 580 \
Expand Down
2 changes: 1 addition & 1 deletion autoconf/m4/pa_c_typeof.m4
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dnl --------------------------------------------------------------------------
dnl PA_C_TYPEOF
dnl
dnl Find if typeof() exists, or an equvalent (__typeof__, decltype,
dnl Find if typeof() exists, or an equivalent (__typeof__, decltype,
dnl __decltype__)
dnl --------------------------------------------------------------------------
AC_DEFUN([PA_C_TYPEOF],
Expand Down
16 changes: 8 additions & 8 deletions doc/changes.src
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ in \c{%+} tokens at the beginning or end, or multiple ones in a row.

\b Fix macro label capture (\c{%00}, \k{percent00}).

\b Much better documentation for the MASM compatiblity package,
\b Much better documentation for the MASM compatibility package,
\c{%use masm} (see \k{pkg_masm}).

\b Fix \c{LEA} without square brackets, for MASM compatibility.
Expand Down Expand Up @@ -233,7 +233,7 @@ generation pass if a list file is specified.

\S{cl-2.14.01} Version 2.14.01

\b Create all system-defined macros defore processing command-line
\b Create all system-defined macros before processing command-line
given preprocessing directives (\c{-p}, \c{-d}, \c{-u}, \c{--pragma},
\c{--before}).

Expand Down Expand Up @@ -595,7 +595,7 @@ files. See \k{opt-keep-all}.
\b Fix \c{-MD} option handling, which was rather broken in previous
release changing command line api.

\b Fix access to unitialized space when handling strings with
\b Fix access to uninitialized space when handling strings with
a single grave.

\b Fix nil dereference in handling memory reference parsing.
Expand Down Expand Up @@ -870,7 +870,7 @@ only integer logarithms. See \k{pkg_ifunc}.

\S{cl-2.09.04} Version 2.09.04

\b Fix incorrect labels offset for VEX intructions.
\b Fix incorrect labels offset for VEX instructions.

\b Eliminate bogus warning on implicit operand size override.

Expand All @@ -888,7 +888,7 @@ only integer logarithms. See \k{pkg_ifunc}.
too early and sometime simply wrong. Move behaviour back to
the origins (down to NASM 2.05.01).

\b Fix unitialized data dereference on OMF output format.
\b Fix uninitialized data dereference on OMF output format.

\b Issue warning on unterminated \c{%{} construct.

Expand Down Expand Up @@ -941,7 +941,7 @@ only integer logarithms. See \k{pkg_ifunc}.

\b Macros parameters range expansion introduced. See \k{mlmacrange}.

\b Backward compatibility on expanging of local sigle macros restored.
\b Backward compatibility on expanging of local single macros restored.

\b 8 bit relocations for \c{elf} and \c{bin} output formats are introduced.

Expand Down Expand Up @@ -1636,7 +1636,7 @@ it 0.98.28 to not confuse poor little apt-get.

\b Line continuation character \c{\\}.

\b Docs inadvertantly reverted - "dos packaging".
\b Docs inadvertently reverted - "dos packaging".


\S{cl-0.98.24p1} Version 0.98.24p1
Expand Down Expand Up @@ -2098,7 +2098,7 @@ in macros etc. For example:

\> In this example the "if" mmacro enters into the "if" context, so %$arg1
is not valid anymore inside "if". Of course it could be worked around
by using explicitely %$$arg1 but this is ugly IMHO.
by using explicitly %$$arg1 but this is ugly IMHO.

\b Fixed memory leak in \c{%undef}. The origline wasn't freed before
exiting on success.
Expand Down
12 changes: 6 additions & 6 deletions doc/genps.pl
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ ($)
}

#
# Take a crossreference name and generate the PostScript name for it.
# Take a cross-reference name and generate the PostScript name for it.
#
# This hack produces a somewhat smaller PDF...
#%ps_xref_list = ();
Expand Down Expand Up @@ -417,7 +417,7 @@ ($$$@)
$pastmarker = 1;
}
if ( $$e[0] == -1 || $$e[0] == -6 ) {
# -1 (end anchor) or -6 (marker) goes with the preceeding
# -1 (end anchor) or -6 (marker) goes with the preceding
# text, otherwise with the subsequent text
push(@l, $e);
} else {
Expand Down Expand Up @@ -743,7 +743,7 @@ (@)
@pslines = ();

#
# Line Auxilliary Information Types
# Line Auxiliary Information Types
#
$AuxStr = 1; # String
$AuxPage = 2; # Page number (from xref)
Expand Down Expand Up @@ -790,7 +790,7 @@ ($$)
my $sech = $2;
my $font = ($ptype eq 'head') ? \%HeadFont : \%SubhFont;
@ls = ps_flow_lines($linewidth, $font, $ptype, @data);
# We need the heading number as auxillary data
# We need the heading number as auxilary data
$ls[0]->[0]->[2] = [[$AuxStr,$secn]];
} elsif ( $ptype eq 'norm' ) {
@ls = ps_flow_lines($linewidth, \%BodyFont, $ptype, @data);
Expand All @@ -813,7 +813,7 @@ ($$)
$psconf{tocpnz}-$refwidth,
\%BodyFont, $ptype, @data);

# Auxilliary data: for the first line, the cross reference symbol
# Auxiliary data: for the first line, the cross reference symbol
# and the reference name; for all lines but the first, the
# reference width; and for the last line, the page number
# as a string.
Expand Down Expand Up @@ -1318,7 +1318,7 @@ ($)
} elsif ( $$x[0] == $AuxNum ) {
print $$x[1],' ';
} else {
die "Unknown auxilliary data type";
die "Unknown auxiliary data type";
}
}
}
Expand Down
Loading

0 comments on commit cdf7ad0

Please sign in to comment.