rui314 / chibicc

A small C compiler
MIT License
9.67k stars 881 forks source link

string intialized by function-like failed during compilation #107

Open stormalf opened 2 years ago

stormalf commented 2 years ago

define gettext_noop(str) (str)

define N_(str) gettext_noop (str)

static const char vlcusage[] = N( "Usage: %s [options] [stream] ...\n" "You can specify multiple streams on the commandline.\n" ... "\n"); caused issue : "\n"; ^ expected ","

Fixing it by adding new case in parse.c initializer2 function : image