Index: trunk/PS-IPP-Metadata-Config/config_grammar.txt
===================================================================
--- trunk/PS-IPP-Metadata-Config/config_grammar.txt	(revision 9479)
+++ trunk/PS-IPP-Metadata-Config/config_grammar.txt	(revision 9495)
@@ -1,5 +1,5 @@
 # Copyright (c) 2005  Joshua Hoblitt
 #
-# $Id: config_grammar.txt,v 1.5 2006-10-11 03:08:36 jhoblitt Exp $
+# $Id: config_grammar.txt,v 1.6 2006-10-12 02:08:51 jhoblitt Exp $
 
 {
@@ -87,5 +87,5 @@
 
 metadata:
-    metadata_name <commit> 
+    metadata_name 
     { push @scope_stack, $thisparser->{local}; $thisparser->{local} = {} }
     grammar
@@ -103,4 +103,19 @@
                 $return = undef;
             }
+
+            if ( defined $thisparser->{local}{name}{ $item{metadata_name} } ) {
+                $return->{multi}++
+                    if $thisparser->{local}{name}{ $item{metadata_name} } =~ /MULTI/;
+            } else {
+                $thisparser->{local}{name}{ $item{metadata_name} }++;
+            }
+        } 
+    | metadata_name <commit> comment_line(s?) metadata_end
+        {
+            $return = {
+                class   => 'metadata',
+                name    => $item{metadata_name},
+                value   => [],
+            };
 
             if ( defined $thisparser->{local}{name}{ $item{metadata_name} } ) {
