[issue21891] sysmodule.c, #define terminated with semicolon.

John Malmberg report at bugs.python.org
Tue Jul 1 06:40:46 CEST 2014


New submission from John Malmberg:

Minor issue, the #define TAG line incorrectly is terminated with a semicolon.

This results in a double semicolon on the following line where the macro is expanded.

As this is an informational message, this is just cosmetic.

Listing fragment:

␉·······  25861 #define MAJOR STRIFY(PY_MAJOR_VERSION)
␉·······  25862 #define MINOR STRIFY(PY_MINOR_VERSION)
␉·······  25863 #define TAG NAME "-" MAJOR MINOR;
␉·······  25864 const char *_PySys_ImplCacheTag = TAG;
␉·······␉·······.....................................1
%CC-I-EXTRASEMI, (1) Extraneous semicolon.

       E␉·······                                "cpython" "-" "3" "5" ;

----------
messages: 222007
nosy: John.Malmberg
priority: normal
severity: normal
status: open
title: sysmodule.c, #define terminated with semicolon.
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21891>
_______________________________________


More information about the Python-bugs-list mailing list