From 86f78af3745704cfa6889c25867dafa692f132d5 Mon Sep 17 00:00:00 2001 From: cuz Date: Mon, 17 Mar 2003 10:19:53 +0000 Subject: [PATCH] Fixed a few comments git-svn-id: svn://svn.cc65.org/cc65/trunk@2028 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/ca65/pseudo.c | 4 ++-- src/ca65/symtab.c | 4 ++-- src/ca65/symtab.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ca65/pseudo.c b/src/ca65/pseudo.c index 0c168a1d9..498b0824a 100644 --- a/src/ca65/pseudo.c +++ b/src/ca65/pseudo.c @@ -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 (); diff --git a/src/ca65/symtab.c b/src/ca65/symtab.c index d5087ebf9..bd275c0d6 100644 --- a/src/ca65/symtab.c +++ b/src/ca65/symtab.c @@ -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); } diff --git a/src/ca65/symtab.h b/src/ca65/symtab.h index 4492889b5..71cc42977 100644 --- a/src/ca65/symtab.h +++ b/src/ca65/symtab.h @@ -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 */