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 ();
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);
}
/* 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 */