IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 10, 2006, 5:09:06 PM (20 years ago)
Author:
jhoblitt
Message:

fix MULTI parsing of TYPEs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PS-IPP-Metadata-Config/config_grammar.txt

    r9162 r9479  
    11# Copyright (c) 2005  Joshua Hoblitt
    22#
    3 # $Id: config_grammar.txt,v 1.4 2006-10-04 01:25:05 jhoblitt Exp $
     3# $Id: config_grammar.txt,v 1.5 2006-10-11 03:08:36 jhoblitt Exp $
    44
    55{
     
    186186                    value   => \@md,
    187187                };
    188             }
     188
     189                if ( defined $thisparser->{local}{name}{ $item{name} } ) {
     190                    $return->{multi}++
     191                        if $thisparser->{local}{name}{ $item{name} } =~ /MULTI/;
     192                } else {
     193                    $thisparser->{local}{name}{ $item{name} }++;
     194                }
     195            }
     196
    189197        }
    190198    | <error?:'TYPE' does not have enough parameters: $text> <reject>
Note: See TracChangeset for help on using the changeset viewer.