About to try out VIAL, but curious to learn what I'm doing wrong here.
I've tried a number of syntax variations. The keymap.c file is created from a JSON export from QMK configurator with encoder code pasted in to the keymap.c. To be sure it wasn't a problem caused by my copy/paste, I tried to compile it based on a direct export from QMK configurator and got the same error.
I ran QMK doctor, it says my setup is fine.