The Arduino's source code highlighting provides the ability for library writers to specify their own keywords to be highlighted that are in some way associated with their library.
If interval is getting highlighted, it's because you have an additional library that you've added that put that word into it's keywords list.
Highlighting has absolutely nothing to do with the code getting compiled. It's purely a visual 'enhancement' for the code writer.