annotationparser: cleanup and add tests for the new warnings we now emit
authorDieter Verfaillie <dieterv@optionexplicit.be>
Tue, 17 Apr 2012 20:23:14 +0000 (22:23 +0200)
committerDieter Verfaillie <dieterv@optionexplicit.be>
Tue, 17 Apr 2012 21:03:22 +0000 (23:03 +0200)
commitc87ef59b4b4e57f7704144c2098b5ab0bf37976e
tree37b5651810377b9b1d75ad6a8d01ac03f1e81608
parentf4729860f3b397a868a6e9135ce51975b1d043f1
annotationparser: cleanup and add tests for the new warnings we now emit

Including:
- handle things in the logical order encountered (first colon,
  then annotations)
- correctly report column when missing a colon on the identifier part
- small type fixes
- remove no longer useful "parameter/tag expected" warnings
giscanner/annotationparser.py
giscanner/annotationpatterns.py
tests/warn/Makefile.am
tests/warn/annotationparser.h [new file with mode: 0644]