Changeset 27475
- Timestamp:
- Mar 26, 2010, 12:04:01 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/scripts/pspsSchema2xml.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/scripts/pspsSchema2xml.pl
r27431 r27475 1 1 #!/usr/bin/perl -w 2 2 3 ####################################################################################### 4 # 5 # Script that searches a dir containing PSPS schema files, finds those that comtain the 6 # tables on interest then parses them into an XML format. Also generates C-header files 7 # containing enums that detail table column names and numbers. 8 # 9 ####################################################################################### 10 11 use warnings; 12 use strict; 3 13 use IPC::Cmd 0.36 qw( can_run run ); 4 14 use XML::Writer; … … 6 16 use Pod::Usage qw( pod2usage ); 7 17 8 use warnings;9 use strict;10 18 11 19 my ($schemaPath, $type); … … 294 302 $default =~ s/'//g; 295 303 if ($type ne "TSTRING" && !$default) {$default = "0";} 296 # print "got default='$default'\n";297 304 if ($ISBINARY && $default eq "0x") {$default = "";} 298 305 }
Note:
See TracChangeset
for help on using the changeset viewer.
