Fix whitespace
This commit is contained in:
parent
2bb807a931
commit
67bff893bf
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue