aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorTomas Kukosa <tomas.kukosa@siemens.com>2007-06-05 13:43:45 +0000
committerTomas Kukosa <tomas.kukosa@siemens.com>2007-06-05 13:43:45 +0000
commit0fec7475c0b708a2735179dc53aede69355ffe47 (patch)
treee980b1f8c27379607318e5bdda214e935842ffb8 /tools
parent40ba5931de6c8a963cc1e321daefca49a96aca9c (diff)
replace '&' with '_' in asn2c() function
svn path=/trunk/; revision=22046
Diffstat (limited to 'tools')
-rwxr-xr-xtools/asn2wrs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/asn2wrs.py b/tools/asn2wrs.py
index fee798d33a..d67d6744a9 100755
--- a/tools/asn2wrs.py
+++ b/tools/asn2wrs.py
@@ -144,7 +144,7 @@ oid_names = {
}
def asn2c(id):
- return id.replace('-', '_').replace('.', '_')
+ return id.replace('-', '_').replace('.', '_').replace('&', '_')
input_file = None
g_conform = None