Sublime Forum

Scanf bracket %[ format string not recognized in C mode

#1

Hi,

today I was coding some C99 for my homework assignment which involves parsing URLs. Enter scanf. Trying to use the bracket conversion specifier ( % ) erroneously results in this being reported:

The result is same if I remove those asterisks. The bracket scanf conversion code is valid C99 and the code in my example works flawlessly.

I’m running version 2.0.1, build 2217, compiled for Linux x86-64.

0 Likes