projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
learn: Check learn actions after parsing in learn_parse().
[openvswitch]
/
ovsdb
/
ovsdb-idlc.in
diff --git
a/ovsdb/ovsdb-idlc.in
b/ovsdb/ovsdb-idlc.in
index 3392c3559f38349b2e2b4267c0ad3d282ba506fd..d7115412bee198f69095e18403df3a8442cd37f1 100755
(executable)
--- a/
ovsdb/ovsdb-idlc.in
+++ b/
ovsdb/ovsdb-idlc.in
@@
-548,6
+548,7
@@
void
print " %s_columns_init();" % structName
print "}"
print " %s_columns_init();" % structName
print "}"
+
def ovsdb_escape(string):
def escape(match):
c = match.group(0)
def ovsdb_escape(string):
def escape(match):
c = match.group(0)
@@
-569,8
+570,6
@@
def ovsdb_escape(string):
return '\\x%02x' % ord(c)
return re.sub(r'["\\\000-\037]', escape, string)
return '\\x%02x' % ord(c)
return re.sub(r'["\\\000-\037]', escape, string)
-
-
def usage():
print """\
%(argv0)s: ovsdb schema compiler
def usage():
print """\
%(argv0)s: ovsdb schema compiler