Changeset 9758 for trunk/PS-IPP-Metadata-Config/config_grammar.txt
- Timestamp:
- Oct 26, 2006, 4:15:45 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/PS-IPP-Metadata-Config/config_grammar.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/PS-IPP-Metadata-Config/config_grammar.txt
r9495 r9758 1 1 # Copyright (c) 2005 Joshua Hoblitt 2 2 # 3 # $Id: config_grammar.txt,v 1. 6 2006-10-12 02:08:51jhoblitt Exp $3 # $Id: config_grammar.txt,v 1.7 2006-10-27 02:15:45 jhoblitt Exp $ 4 4 5 5 { … … 146 146 $return->{comment} = $item{'comment(?)'}[0] 147 147 if $item{'comment(?)'}[0]; 148 149 if ( defined $thisparser->{local}{name}{ $item{name} } ) { 150 $return->{multi}++ 151 if $thisparser->{local}{name}{ $item{name} } =~ /MULTI/; 152 } else { 153 $thisparser->{local}{name}{ $item{name} }++; 154 } 148 155 } 149 156 … … 362 369 iso8601 363 370 | utc_epoch 371 | NULL 364 372 365 373 UT1: 366 374 iso8601 367 375 | epoch 376 | NULL 368 377 369 378 TAI: 370 379 iso8601 371 380 | epoch 381 | NULL 372 382 373 383 TT: 374 384 iso8601 375 385 | epoch 386 | NULL 376 387 377 388 iso8601: 378 389 # based on code from DateTime::Format::ISO8601 379 / \d{4} -?? \d\d -?? \d\d T?? \d\d :?? \d\d :?? \d\d (?:[\.,] (\d+))? Z /x390 / \d{4} -?? \d\d -?? \d\d T?? \d\d :?? \d\d :?? \d\d (?:[\.,] (\d+))? Z?/x 380 391 { DateTime::Format::ISO8601->parse_datetime( $item[1] ) } 381 392 … … 394 405 nsec => $2, 395 406 }} 407 NULL: 408 /NULL/ 409 { $return = "NULL" } 396 410 397 411 eofile:
Note:
See TracChangeset
for help on using the changeset viewer.
