From: solar Date: Wed, 23 Sep 2009 18:38:15 +0000 (+0000) Subject: Catching the unimplemented. X-Git-Tag: v0.5~118 X-Git-Url: https://pd.if.org/git/?p=pdclib;a=commitdiff_plain;h=a59e44598f84721180a53dcfb6a35caa190cfe79 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; }