2to3 --fix=raise
diff --git a/Lib/fontTools/misc/sstruct.py b/Lib/fontTools/misc/sstruct.py
index fe1711b..9ab11aa 100644
--- a/Lib/fontTools/misc/sstruct.py
+++ b/Lib/fontTools/misc/sstruct.py
@@ -140,11 +140,11 @@
 			if m:
 				formatchar = m.group(1)
 				if formatchar != 'x' and formatstring:
-					raise error, "a special format char must be first"
+					raise error("a special format char must be first")
 			else:
 				m = _elementRE.match(line)
 				if not m:
-					raise error, "syntax error in format: '%s'" % line
+					raise error("syntax error in format: '%s'" % line)
 				name = m.group(1)
 				names.append(name)
 				formatchar = m.group(2)
@@ -154,7 +154,7 @@
 					after = int(m.group(4))
 					bits = before + after
 					if bits not in [8, 16, 32]:
-						raise error, "fixed point must be 8, 16 or 32 bits long"
+						raise error("fixed point must be 8, 16 or 32 bits long")
 					formatchar = _fixedpointmappings[bits]
 					assert m.group(5) == "F"
 					fixes[name] = float(1 << after)