diff --git a/addons/cppcheckdata.py b/addons/cppcheckdata.py index cc704def3..3dcfd928e 100644 --- a/addons/cppcheckdata.py +++ b/addons/cppcheckdata.py @@ -65,7 +65,7 @@ class Token: isArithmeticalOp Is this token a arithmetic operator isAssignmentOp Is this token a assignment operator isComparisonOp Is this token a comparison operator - isLogicalOp Is this token a logical operator: && || + isLogicalOp Is this token a logical operator: && || varId varId for token, each variable has a unique non-zero id variable Variable information for this token. See the Variable class. function If this token points at a function call, this attribute has the Function @@ -353,7 +353,7 @@ class ValueFlow: class Value: """ Value class - + Attributes: intvalue integer value tokvalue token value @@ -394,7 +394,7 @@ class Configuration: scopes List of Scope items functions List of Function items variables List of Variable items - valueflow List of ValueFlow values + valueflow List of ValueFlow values """ name = '' diff --git a/addons/y2038/y2038.py b/addons/y2038/y2038.py index a5f16c38d..65882574c 100644 --- a/addons/y2038/y2038.py +++ b/addons/y2038/y2038.py @@ -259,7 +259,7 @@ for dumpfile in dumpfiles: # warn about _TIME_BITS not being defined if time_bits_defined == False: reportDirDiag(args.template, - cfg, srcfile, srclinenr, directive, 'warning', + cfg, srcfile, srclinenr, directive, 'warning', '_USE_TIME_BITS64 is defined but _TIME_BITS was not') elif re_undef_use_time_bits64.match(directive.str): unsafe = int(srclinenr)