correctly parse interfaces definition and usage
fix
Merge remote-tracking branch 'core-parser/master'