IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9479


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

fix MULTI parsing of TYPEs

Location:
trunk/PS-IPP-Metadata-Config
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/PS-IPP-Metadata-Config/Changes

    r9164 r9479  
    11Revision history for Perl module PS::IPP::Metadata::Config
     2
     30.07
     4    - fix MULTI parsing of TYPEs
     5    - minor test update
    26
    370.06 Tue Oct  3 15:25:44 HST 2006
  • 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.