diff --git a/share/machdeps/make_machdep/make_machdep.py b/share/machdeps/make_machdep/make_machdep.py index 97aa2901b0a849a3b0f5962acfc62e5d3bbbcdab..f3e922f099c207553217dd174aee6173d81e10b2 100755 --- a/share/machdeps/make_machdep/make_machdep.py +++ b/share/machdeps/make_machdep/make_machdep.py @@ -191,7 +191,7 @@ def find_value(name, typ, output): return int(x) elif typ == "type": - expected = "'([^']+)'" + expected = "`([^`]+)`" def conversion(x): return x diff --git a/share/machdeps/make_machdep/make_machdep_common.h b/share/machdeps/make_machdep/make_machdep_common.h index 729a741947eeba95a6b88d30f9b45c64ff9f2a7e..8688084e084e41f03b2f8b0ec6af9a36d784fd8e 100644 --- a/share/machdeps/make_machdep/make_machdep_common.h +++ b/share/machdeps/make_machdep/make_machdep_common.h @@ -39,6 +39,6 @@ #define mkstr(s) #s #define TEST_TYPE_COMPATIBLE(T1, T2) \ - _Static_assert(!COMPATIBLE(T1, T2), "" mkstr(T2) " is '" #T1 "'"); + _Static_assert(!COMPATIBLE(T1, T2), "" mkstr(T2) " is `" #T1 "`"); #define TEST_TYPE_IS(type) TEST_TYPE_COMPATIBLE(type, TEST_TYPE)