aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dtd_parse.l
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2006-11-15 18:40:37 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2006-11-15 18:40:37 +0000
commitca6a9a7d130ada09ad9bca741d4f96b9781805ec (patch)
tree086d7dffbd6cce4212d80328e1857f3126296c73 /epan/dtd_parse.l
parentaee8b89188e01dfd7c96ca997ccbdd0dd28e8eba (diff)
solve both issues pointed out in:
http://wireshark.org/lists/ethereal-dev/200605/msg02351.html - dtd_parse.l: be more liberal on what a name can be (a number now can be a name) - packet-xml.c if proto-name is given use it instead of the root element name as prefix for generated fields svn path=/trunk/; revision=19903
Diffstat (limited to 'epan/dtd_parse.l')
-rw-r--r--epan/dtd_parse.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dtd_parse.l b/epan/dtd_parse.l
index 91830a4956..9539345d37 100644
--- a/epan/dtd_parse.l
+++ b/epan/dtd_parse.l
@@ -147,7 +147,7 @@ comma ","
pipe "|"
dquote ["]
-name [A-Za-z][-a-zA-Z0-9_]*
+name [A-Za-z0-9][-a-zA-Z0-9_]*
dquoted ["][^\"]*["]
squoted ['][^\']*[']