advance.c 315 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
/*
 * Items: advance(
 * Standardized-By: SuS
 * Not-Detected-by: gcc-4.4.3 + Linux
 */

#define INIT 
#define GETC() getc()
#define PEEKC() peek()
#define UNGETC(c) ungetc(c)
#define RETURN(ptr) return ptr
#define ERROR(val) return val

#include <regex.h>

main(int arg, char **argv)
{
    advance("foobar", 0);
}