Fixed a few comments
git-svn-id: svn://svn.cc65.org/cc65/trunk@2028 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -605,9 +605,9 @@ static void DoEnd (void)
|
|||||||
|
|
||||||
static void DoEndProc (void)
|
static void DoEndProc (void)
|
||||||
/* Leave a lexical level */
|
/* Leave a lexical level */
|
||||||
{
|
{
|
||||||
if (!SymIsLocalLevel ()) {
|
if (!SymIsLocalLevel ()) {
|
||||||
/* No local symbol table level open */
|
/* No local scope */
|
||||||
ErrorSkip (ERR_NO_OPEN_PROC);
|
ErrorSkip (ERR_NO_OPEN_PROC);
|
||||||
} else {
|
} else {
|
||||||
SymLeaveLevel ();
|
SymLeaveLevel ();
|
||||||
|
|||||||
@@ -379,14 +379,14 @@ void SymEnterLevel (void)
|
|||||||
|
|
||||||
void SymLeaveLevel (void)
|
void SymLeaveLevel (void)
|
||||||
/* Leave the current lexical level */
|
/* Leave the current lexical level */
|
||||||
{
|
{
|
||||||
SymTab = SymTab->BackLink;
|
SymTab = SymTab->BackLink;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
int SymIsLocalLevel (void)
|
int SymIsLocalLevel (void)
|
||||||
/* Return true if we ae on a local symbol table level. */
|
/* Return true if we are on a local symbol table level. */
|
||||||
{
|
{
|
||||||
return (SymTab != RootTab);
|
return (SymTab != RootTab);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ void SymLeaveLevel (void);
|
|||||||
/* Leave the current lexical level */
|
/* Leave the current lexical level */
|
||||||
|
|
||||||
int SymIsLocalLevel (void);
|
int SymIsLocalLevel (void);
|
||||||
/* Return true if we ae on a local symbol table level. */
|
/* Return true if we are on a local symbol table level. */
|
||||||
|
|
||||||
void SymDef (const char* Name, ExprNode* Expr, int ZP, int Label);
|
void SymDef (const char* Name, ExprNode* Expr, int ZP, int Label);
|
||||||
/* Define a new symbol */
|
/* Define a new symbol */
|
||||||
|
|||||||
Reference in New Issue
Block a user