mirror of
https://github.com/cc65/cc65.git
synced 2024-12-22 12:30:41 +00:00
Fixed a few comments
git-svn-id: svn://svn.cc65.org/cc65/trunk@2028 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
7d350d3f61
commit
86f78af374
@ -605,9 +605,9 @@ static void DoEnd (void)
|
||||
|
||||
static void DoEndProc (void)
|
||||
/* Leave a lexical level */
|
||||
{
|
||||
{
|
||||
if (!SymIsLocalLevel ()) {
|
||||
/* No local symbol table level open */
|
||||
/* No local scope */
|
||||
ErrorSkip (ERR_NO_OPEN_PROC);
|
||||
} else {
|
||||
SymLeaveLevel ();
|
||||
|
@ -379,14 +379,14 @@ void SymEnterLevel (void)
|
||||
|
||||
void SymLeaveLevel (void)
|
||||
/* Leave the current lexical level */
|
||||
{
|
||||
{
|
||||
SymTab = SymTab->BackLink;
|
||||
}
|
||||
|
||||
|
||||
|
||||
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);
|
||||
}
|
||||
|
@ -74,7 +74,7 @@ void SymLeaveLevel (void);
|
||||
/* Leave the current lexical level */
|
||||
|
||||
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);
|
||||
/* Define a new symbol */
|
||||
|
Loading…
Reference in New Issue
Block a user