X-Git-Url: https://git.piment-noir.org/?p=TP_AL_C.git;a=blobdiff_plain;f=lexer%2Fmain.c;h=3837e9bcf3daa7d4eacf8b6350386aacd0445a80;hp=40ff04d540f95c4b7e6fa16b984d8e188997af6d;hb=7f9d92f6d5a67e5afd2351893abc51d73f1d47d8;hpb=fa60d3b49e93c94e140541edac812946eb27b39b diff --git a/lexer/main.c b/lexer/main.c index 40ff04d..3837e9b 100644 --- a/lexer/main.c +++ b/lexer/main.c @@ -11,7 +11,7 @@ struct token_s { wint_t value[50]; }; -struct token_s token[TOKEN_MAX] = {NULL, 0}; +struct token_s token[TOKEN_MAX] = {{NULL, {0}}}; FILE *source = NULL, *target = NULL; wint_t c;