are you sure you are using lite-c and that the script's file extension is .c and not .wdl?

If it's .wdl, it's c-script and this syntax is wrong.