[idldoc] pb with multiple tags

Michael Galloy mgalloy at idldev.com
Thu Dec 6 08:10:23 PST 2007


On Dec 5, 2007, at 6:22 AM, Françoise Pinsard wrote:
> here is a little example to show that multiple tags is not possible.
> There is not warning about this in the log file.
>
> ;+
> ; test for multiple restrictions tags
> ;
> ; @restrictions
> ; restriction 1
> ;
> ; @restrictions
> ; restriction 2
> ;
> ; only "restriction 2" is visible in pb_doublerestrictions.html :
> ; Other attributes
> ;
> ; Restrictions:
> ; restriction 2
> ;-
> pro nothing
> end

What is the "right" behavior here?

   1. second instance replaces first (but gives a warning)
   2. second instance adds onto the first
   3. second instance is a warning (first left alone)

I'm guessing option 2 is correct for most cases, though option 1 might  
be correct for some cases.

Mike
--
www.michaelgalloy.com




More information about the idldoc mailing list