TRIPLE check to make sure ALL the source-files (or included files) that you are using are all Lite-C files. (saved as *.C or sometimes *.H).
Also make sure there are NO *.WDL files with the same name as your "main" script. (preferably no *.WDL files at all)
You CANNOT mix c-script files and lite-c files. You are only able to use one or the other.
This is an easy place to fall over when moving from c-script to lite-c.
Hope this helps.