--- stack/stack.c 2002/02/06 21:26:46 1.42 +++ stack/stack.c 2002/02/06 23:27:22 1.43 @@ -537,6 +537,12 @@ rest= malloc(inlength); do { + /* If comment */ + if((convert= sscanf(in_line, "#%[^\n\r]", rest))) { + free(temp); free(rest); + return; + } + /* If string */ if((convert= sscanf(in_line, "\"%[^\"\n\r]\" %[^\n\r]", temp, rest))) { push_cstring(&(env->head), temp); @@ -615,6 +621,11 @@ return; } + rev(env); + + if(env->err) + return; + /* The first list element is the new stack head */ new_head= temp= env->head->item->content.ptr;