Fix syntax error in generate_headers

This commit is contained in:
Nicholas Hastings
2026-04-26 23:00:00 -04:00
parent 3258ad0781
commit c6038c76a6
+1 -1
View File
@@ -51,7 +51,7 @@ def output_version_headers():
with open(os.path.join(SourceFolder, 'product.version')) as fp:
contents = fp.read().strip()
m = re.match('(\d+)\.(\d+)\.(\d+)-?(.*)', contents)
m = re.match(r'(\d+)\.(\d+)\.(\d+)-?(.*)', contents)
if m == None:
raise Exception('Could not detremine product version')
major, minor, release, tag = m.groups()