MIND-Tools/mind-compiler — pull request #10 by StephaneSeyvoz (2013-12-04 17:51:42+00:00)
Title: Cpl preproc enhancements

Pre-requisite:
This branch is based on content contributed by Pull Request https://github.com/MIND-Tools/mind-compiler/pull/8 but is independent from Pull Request https://github.com/MIND-Tools/mind-compiler/pull/9 content, so it should get simpler when https://github.com/MIND-Tools/mind-compiler/pull/8 is accepted.

Features:
- Methods provided by server interfaces but missing in C sources of primitive definitions are now detected and signaled to the user (according unit tests are provided) ; see the according commit message for details

Bugfix:
- Preprocessed files line and file informations were erroneous on IAR & CodeWarrior, implying users could not trace their errors back to their own content (source C files)
- Grammar "params" and "inParams" rules were re-written to avoid recursion as much as possible (99.98% faster on our parentheses-heavy file, reducing MPP time from 1min30s to 28ms)