#include <glib.h>
#include <fcntl.h>

int main(int argc, char** argv)
{
 GScanner *scanner = g_scanner_new (NULL);
 
 char* filename = argv[1];
 g_assert (filename);
 g_scanner_input_file (scanner, open (filename, O_RDONLY));
 
 GTokenType tokenType;
 while (1){
    tokenType = g_scanner_get_next_token (scanner);
    if (tokenType == G_TOKEN_EOF){
        return 0;
        }
    }

}
