Fix whitespace

This commit is contained in:
Wilson Snyder 2026-02-10 20:17:22 -05:00
parent 2bb807a931
commit 67bff893bf
2 changed files with 4 additions and 3 deletions

View File

@ -1000,7 +1000,7 @@ class ConstraintExprVisitor final : public VNVisitor {
AstCStmt* const bufDeclp = new AstCStmt{fl, "char __Vn[256];\n"};
ifNonNullp->addThensp(bufDeclp);
// 32-bit index → 8 hex chars for SMT name formatting
// 32-bit index hex chars for SMT name formatting
constexpr int idxWidth = 32;
const int fmtWidth = VL_WORDS_I(idxWidth) * 8;

View File

@ -89,9 +89,10 @@ for filename in sorted(files.keys()):
# Unicode checker; should this be done in another file?
# No way to auto-fix.
unicode_exempt = re.search(Unicode_Exempt_Re, filename)
m = re.search(r'([^ \t\r\n\x20-\x7e])', contents)
m = re.search(r'(([^ \t\r\n\x20-\x7e]).*)', contents)
if not unicode_exempt and m:
warns[filename] = "Warning: non-ASCII contents '" + m.group(1) + "' in " + filename
warns[filename] = "Warning: non-ASCII contents '" + m.group(2) + "' at '" + m.group(
1) + "' in " + filename
fcount += 1