I use several pre-processors for various languages, but these don't play well with tools like oobr.
For example, the Jass tool[1] provides assertions/Design by Contract support for Java. The input files for Jass must have a .jass extension; the processed files have the .java suffix. The .jass files are still legal Java --- all code annotations are in special comments. Thus, the oo-browser can parse these files.
So, I'd like a feature where I can bind suffixes in a preferred order for a given language. E.g. If I'm using the Java mode, look for .jass files first, and if you find a .java file without a corresponding .jass file, parse that instead. If a .jass file exists, *never* parse the .java file. Comments?
I use several pre-processors for various languages, but these don't play well with tools like oobr.
For example, the Jass tool[1] provides assertions/Design by Contract support for Java. The input files for Jass must have a .jass extension; the processed files have the .java suffix. The .jass files are still legal Java --- all code annotations are in special comments. Thus, the oo-browser can parse these files.
So, I'd like a feature where I can bind suffixes in a preferred order for a given language. E.g. If I'm using the Java mode, look for .jass files first, and if you find a .java file without a corresponding .jass file, parse that instead. If a .jass file exists, *never* parse the .java file. Comments?
Thanks.
Joseph Kiniry
[1] http://theoretica.informatik.uni-oldenburg.de/~jass/