From: solar <> Date: Wed, 23 Sep 2009 18:38:15 +0000 (+0000) Subject: Catching the unimplemented. X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=commitdiff_plain;h=18051554bf8cae6f007b7c0f66411689ee8be88f Catching the unimplemented. --- diff --git a/functions/_PDCLIB/scan.c b/functions/_PDCLIB/scan.c index c982610..2f59fa5 100644 --- a/functions/_PDCLIB/scan.c +++ b/functions/_PDCLIB/scan.c @@ -366,6 +366,9 @@ const char * _PDCLIB_scan( const char * spec, struct _PDCLIB_status_t * status ) /* ASSIGN( E_size | E_unsigned, unsigned size_t ); */ ASSIGN( E_ptrdiff, ptrdiff_t ); /* ASSIGN( E_ptrdiff | E_unsigned, unsigned ptrdiff_t ); */ + default: + puts( "UNSUPPORTED SCANF FLAG COMBINATION" ); + return NULL; } return spec; }