aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2009-02-23 06:28:52 +1000
committerGravatar axel <axel@liljencrantz.se>2009-02-23 06:28:52 +1000
commit14c84ffbcbbe0368e61b7bc59d44a1d7bc906d33 (patch)
treea0fbafe2d63e86d5adcd615a7bc70fade00f0803 /parser.c
parentf71c6f3f0e34c034c3dec54289527a68a136749f (diff)
Check return value of a few write calls and retry on EINTR, and fix a few other warnings, mostly by printing error messages before giving up.
darcs-hash:20090222202852-ac50b-b0e79142af5b7a99e55271d4001fa252d9684a1d.gz
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/parser.c b/parser.c
index 7a22f8a0..2f214136 100644
--- a/parser.c
+++ b/parser.c
@@ -436,6 +436,7 @@ typedef struct
/**
Return the current number of block nestings
*/
+/*
static int block_count( block_t *b )
{
@@ -443,7 +444,7 @@ static int block_count( block_t *b )
return 0;
return( block_count(b->outer)+1);
}
-
+*/
void parser_push_block( int type )
{