wmem: allow wmem_destroy_list to ignore a NULL list.
[metze/wireshark/wip.git] / text2pcap-scanner.l
index f1ef1241fb363cfb7be74992608298001a672520..3a69a83ba1d34f06773810c3df40826d076b1c81 100644 (file)
@@ -68,10 +68,9 @@ DIAG_OFF_FLEX
 
 %}
 
-hexdigit [0-9A-Fa-f]
 directive ^#TEXT2PCAP.*\r?\n
 comment ^[\t ]*#.*\r?\n
-byte [0-9A-Fa-f][0-9A-Fa-f][ \t]
+byte [0-9A-Fa-f][0-9A-Fa-f][ \t]?
 byte_eol [0-9A-Fa-f][0-9A-Fa-f]\r?\n
 offset [0-9A-Fa-f]+[: \t]
 offset_eol [0-9A-Fa-f]+\r?\n