Changed multi-line C comments into another style.
The left side doesn't look unbalanced.
This commit is contained in:
@@ -50,8 +50,8 @@
|
||||
|
||||
|
||||
/* The name of the symbol used to encode the size. The name of this entry is
|
||||
* choosen so that it cannot be accessed by the user.
|
||||
*/
|
||||
** choosen so that it cannot be accessed by the user.
|
||||
*/
|
||||
static const StrBuf SizeEntryName = LIT_STRBUF_INITIALIZER (".size");
|
||||
|
||||
|
||||
@@ -64,8 +64,8 @@ static const StrBuf SizeEntryName = LIT_STRBUF_INITIALIZER (".size");
|
||||
|
||||
int IsSizeOfSymbol (const SymEntry* Sym)
|
||||
/* Return true if the given symbol is the one that encodes the size of some
|
||||
* entity. Sym may also be a NULL pointer in which case false is returned.
|
||||
*/
|
||||
** entity. Sym may also be a NULL pointer in which case false is returned.
|
||||
*/
|
||||
{
|
||||
return (Sym != 0 && SB_Compare (GetSymName (Sym), &SizeEntryName) == 0);
|
||||
}
|
||||
@@ -74,8 +74,8 @@ int IsSizeOfSymbol (const SymEntry* Sym)
|
||||
|
||||
SymEntry* FindSizeOfScope (SymTable* Scope)
|
||||
/* Get the size of a scope. The function returns the symbol table entry that
|
||||
* encodes the size or NULL if there is no such entry.
|
||||
*/
|
||||
** encodes the size or NULL if there is no such entry.
|
||||
*/
|
||||
{
|
||||
return SymFind (Scope, &SizeEntryName, SYM_FIND_EXISTING);
|
||||
}
|
||||
@@ -84,8 +84,8 @@ SymEntry* FindSizeOfScope (SymTable* Scope)
|
||||
|
||||
SymEntry* FindSizeOfSymbol (SymEntry* Sym)
|
||||
/* Get the size of a symbol table entry. The function returns the symbol table
|
||||
* entry that encodes the size of the symbol or NULL if there is no such entry.
|
||||
*/
|
||||
** entry that encodes the size of the symbol or NULL if there is no such entry.
|
||||
*/
|
||||
{
|
||||
return SymFindLocal (Sym, &SizeEntryName, SYM_FIND_EXISTING);
|
||||
}
|
||||
@@ -94,8 +94,8 @@ SymEntry* FindSizeOfSymbol (SymEntry* Sym)
|
||||
|
||||
SymEntry* GetSizeOfScope (SymTable* Scope)
|
||||
/* Get the size of a scope. The function returns the symbol table entry that
|
||||
* encodes the size, and will create a new entry if it does not exist.
|
||||
*/
|
||||
** encodes the size, and will create a new entry if it does not exist.
|
||||
*/
|
||||
{
|
||||
return SymFind (Scope, &SizeEntryName, SYM_ALLOC_NEW);
|
||||
}
|
||||
@@ -104,9 +104,9 @@ SymEntry* GetSizeOfScope (SymTable* Scope)
|
||||
|
||||
SymEntry* GetSizeOfSymbol (SymEntry* Sym)
|
||||
/* Get the size of a symbol table entry. The function returns the symbol table
|
||||
* entry that encodes the size of the symbol and will create a new one if it
|
||||
* does not exist.
|
||||
*/
|
||||
** entry that encodes the size of the symbol and will create a new one if it
|
||||
** does not exist.
|
||||
*/
|
||||
{
|
||||
return SymFindLocal (Sym, &SizeEntryName, SYM_ALLOC_NEW);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user