Changeset 6013
- Timestamp:
- 01/23/12 09:17:06 (17 months ago)
- Location:
- i2c-tools/trunk
- Files:
-
- 2 modified
-
CHANGES (modified) (1 diff)
-
stub/i2c-stub-from-dump (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
i2c-tools/trunk/CHANGES
r6002 r6013 1 1 i2c-tools CHANGES 2 2 ----------------- 3 4 SVN HEAD 5 i2c-stub-from-dump: Be more tolerant on input dump format 3 6 4 7 3.1.0 (2011-12-04) -
i2c-tools/trunk/stub/i2c-stub-from-dump
r5830 r6013 128 128 OUTER_LOOP: 129 129 while (<DUMP>) { 130 if (m/^([0-9a-f]0) :(( [0-9a-fX]{2}){16})/) {130 if (m/^([0-9a-f]0) ?[:|](( [0-9a-fX]{2}){16})/i) { 131 131 # Byte dump 132 132 my $offset = hex($1); … … 143 143 $bytes++; 144 144 } 145 } elsif (m/^([0-9a-f][08]) :(( [0-9a-fX]{4}){8})/) {145 } elsif (m/^([0-9a-f][08]) ?[:|](( [0-9a-fX]{4}){8})/i) { 146 146 # Word dump 147 147 my $offset = hex($1);
