Modules are parsed this way when you have the option 'Full modules hilighting enabled' so any declaration inside a mod folder is cosidered to be part of the module. You should disable this option as it is there just for compatibility reasons with earlier BLIde versions. Anyway I'll improve this for the next build.