better and more predication, improved documentation

This commit is contained in:
leitner
2003-06-08 21:20:36 +00:00
parent b36f12a121
commit 558c6128fe
12 changed files with 159 additions and 24 deletions

View File

@@ -3,6 +3,8 @@
main() {
static stralloc sa;
/* static makes sure sa is initialized and empty;
* use stralloc_init to initialize and stralloc_copys(&sa,"") to empty */
if (buffer_get_token_sa(buffer_0,&sa," \t\n",3)==0) {
buffer_putsa(buffer_1,&sa);
buffer_putnlflush(buffer_1);