Added spaces around '|' with regex replacement.
This commit is contained in:
parent
c66d0881b9
commit
07e18774f7
3 changed files with 6 additions and 6 deletions
|
@ -490,7 +490,7 @@ static void ParseEnumDecl (void)
|
|||
}
|
||||
|
||||
/* Add an entry to the symbol table */
|
||||
AddConstSym (Ident, type_int, SC_ENUMERATOR|SC_CONST, EnumVal++);
|
||||
AddConstSym (Ident, type_int, SC_ENUMERATOR | SC_CONST, EnumVal++);
|
||||
|
||||
/* Check for end of definition */
|
||||
if (CurTok.Tok != TOK_COMMA)
|
||||
|
|
|
@ -247,10 +247,10 @@ INLINE int SymIsRegVar (const SymEntry* Sym)
|
|||
/* Return true if the given entry is a register variable */
|
||||
/* ### HACK! Fix the ugly type flags! */
|
||||
{
|
||||
return ((Sym->Flags & (SC_REGISTER|SC_TYPEMASK)) == SC_REGISTER);
|
||||
return ((Sym->Flags & (SC_REGISTER | SC_TYPEMASK)) == SC_REGISTER);
|
||||
}
|
||||
#else
|
||||
# define SymIsRegVar(Sym) (((Sym)->Flags & (SC_REGISTER|SC_TYPEMASK)) == SC_REGISTER)
|
||||
# define SymIsRegVar(Sym) (((Sym)->Flags & (SC_REGISTER | SC_TYPEMASK)) == SC_REGISTER)
|
||||
#endif
|
||||
|
||||
int SymIsOutputFunc (const SymEntry* Sym);
|
||||
|
|
|
@ -717,7 +717,7 @@ SymEntry* AddLabelSym (const char* Name, unsigned Flags)
|
|||
for (i = 0; i < CollCount (Entry->V.L.DefsOrRefs); i++) {
|
||||
DOR = CollAt (Entry->V.L.DefsOrRefs, i);
|
||||
|
||||
if ((DOR->Flags & SC_DEF) && (Flags & SC_REF) && (Flags & (SC_GOTO|SC_GOTO_IND))) {
|
||||
if ((DOR->Flags & SC_DEF) && (Flags & SC_REF) && (Flags & (SC_GOTO | SC_GOTO_IND))) {
|
||||
/* We're processing a goto and here is its destination label.
|
||||
** This means the difference between SP values is already known,
|
||||
** so we simply emit the SP adjustment code.
|
||||
|
@ -739,7 +739,7 @@ SymEntry* AddLabelSym (const char* Name, unsigned Flags)
|
|||
}
|
||||
|
||||
|
||||
if ((DOR->Flags & SC_REF) && (DOR->Flags & (SC_GOTO|SC_GOTO_IND)) && (Flags & SC_DEF)) {
|
||||
if ((DOR->Flags & SC_REF) && (DOR->Flags & (SC_GOTO | SC_GOTO_IND)) && (Flags & SC_DEF)) {
|
||||
/* We're processing a label, let's update all gotos encountered
|
||||
** so far
|
||||
*/
|
||||
|
@ -1109,7 +1109,7 @@ void EmitDebugInfo (void)
|
|||
}
|
||||
Sym = SymTab->SymHead;
|
||||
while (Sym) {
|
||||
if ((Sym->Flags & (SC_CONST|SC_TYPEMASK)) == 0) {
|
||||
if ((Sym->Flags & (SC_CONST | SC_TYPEMASK)) == 0) {
|
||||
if (Sym->Flags & SC_AUTO) {
|
||||
AddTextLine ("%s, \"%s\", \"00\", auto, %d",
|
||||
Head, Sym->Name, Sym->V.Offs);
|
||||
|
|
Loading…
Add table
Reference in a new issue