-
Notifications
You must be signed in to change notification settings - Fork 4
Description
I like to use a 100, 102, 104, 200, 202, 204, etc. annotation style. I was able to get the annotations to be numbered the way I want to by setting the anno number before each definition, but the annotation list only goes until it finds an invalid number. I was able to solve this by keeping track of the maximum number used for an annotation and looping up to that number. I set up the annotationDefinition to take a second argument to set the annotation number, since that is defined at definition time. I don't know if that's the best way or not, but it worked out for what I was doing.
It's not terribly backward compatible, though, at least the way I was doing it. It could probably be made so with an optional argument, but that might break the multi-definition macro that is there for defining the var name and anno name at the same time.
Thoughts?