remove dangling spaces

This commit is contained in:
mrdudz
2022-04-17 16:07:09 +02:00
parent 299f967527
commit 3c1bb85b8e
50 changed files with 67 additions and 67 deletions

View File

@@ -72,7 +72,7 @@ StrBuf* AnonName (StrBuf* Buf, const char* Spec)
int IsAnonName (const StrBuf* Name)
/* Check if the given symbol name is that of an anonymous symbol */
{
{
if (SB_GetLen (Name) < sizeof (AnonTag) - 1) {
/* Too short */
return 0;

View File

@@ -58,7 +58,7 @@ StrBuf* AnonName (StrBuf* Buf, const char* Spec);
int IsAnonName (const StrBuf* Name);
/* Check if the given symbol name is that of an anonymous symbol */
/* End of anonname.h */

View File

@@ -147,4 +147,4 @@ void GetSweet16EA (EffAddr* A)
}

View File

@@ -65,4 +65,4 @@ void GetSweet16EA (EffAddr* A);

View File

@@ -303,9 +303,9 @@ static const struct {
}
};
/* Instruction table for the 6502 with DTV extra opcodes (DTV) and
/* Instruction table for the 6502 with DTV extra opcodes (DTV) and
** those illegal instructions (X) which are supported by DTV.
** Note: illegals opcodes which contain more subinstructions
** Note: illegals opcodes which contain more subinstructions
** (ASO, DCM, LSE, LXA, SBX and SHS) are not enlisted.
*/
static const struct {
@@ -1207,9 +1207,9 @@ static int EvalEA (const InsDesc* Ins, EffAddr* A)
} else {
ED.AddrSize = DataAddrSize;
/* If the default address size of the data segment is unequal
** to zero page addressing, but zero page addressing is
** allowed by the instruction, mark all symbols in the
** expression tree. This mark will be checked at end of
** to zero page addressing, but zero page addressing is
** allowed by the instruction, mark all symbols in the
** expression tree. This mark will be checked at end of
** assembly, and a warning is issued, if a zero page symbol
** was guessed wrong here.
*/

View File

@@ -101,7 +101,7 @@
/* Bitmask for all FAR operations */
#define AM65_ALL_FAR (AM65_ABS_LONG | AM65_ABS_LONG_X)
/* Bitmask for all immediate operations */
#define AM65_ALL_IMM (AM65_IMM_ACCU | AM65_IMM_INDEX | AM65_IMM_IMPLICIT | AM65_IMM_IMPLICIT_WORD)

View File

@@ -81,7 +81,7 @@ void PushInput (int (*Func) (void*), void* Data, const char* Desc)
/* Check for a stack overflow */
if (ICount > ISTACK_MAX) {
Fatal ("Maximum input stack nesting exceeded");
}
}
/* Create a new stack element */
E = xmalloc (sizeof (*E));

View File

@@ -62,7 +62,7 @@ struct StrBuf;
struct Macro;
typedef struct Macro Macro;
/*****************************************************************************/
/* Code */

View File

@@ -182,4 +182,4 @@ void WriteOptions (void)

View File

@@ -204,7 +204,7 @@ static Span* MergeSpan (Span* S)
void SetSpanType (Span* S, const StrBuf* Type)
/* Set the generic type of the span to Type */
{
{
/* Ignore the call if we won't generate debug infos */
if (DbgSyms) {
S->Type = GetStrBufId (Type);
@@ -354,7 +354,7 @@ static int CollectSpans (void* Entry, void* Data)
return 0;
}
void WriteSpans (void)
/* Write all spans to the object file */

View File

@@ -36,7 +36,7 @@
#ifndef STUDYEXPR_H
#define STUDYEXPR_H
/* common */
#include "exprdefs.h"

View File

@@ -187,7 +187,7 @@ SymEntry* ParseScopedSymName (SymFindAction Action)
** may not expect NULL to be returned if Action contains SYM_ALLOC_NEW,
** create a new symbol.
*/
if (Action & SYM_ALLOC_NEW) {
if (Action & SYM_ALLOC_NEW) {
Sym = NewSymEntry (&Ident, SF_NONE);
} else {
Sym = 0;

View File

@@ -160,7 +160,7 @@ void ULabDef (void)
*/
ULabel* L = CollAtUnchecked (&ULabList, ULabDefCount);
CHECK (L->Val == 0);
L->Val = GenCurrentPC ();
L->Val = GenCurrentPC ();
ReleaseFullLineInfo (&L->LineInfos);
GetFullLineInfo (&L->LineInfos);
} else {
@@ -200,7 +200,7 @@ ExprNode* ULabResolve (unsigned Index)
void ULabDone (void)
/* Run through all unnamed labels, check for anomalies and errors and do
/* Run through all unnamed labels, check for anomalies and errors and do
** necessary cleanups.
*/
{