davidmalcolm / gcc-python-plugin

GCC plugin that embeds CPython inside the compiler
GNU General Public License v3.0
197 stars 58 forks source link

demo.expected and demo.expected.no-refcounts. Bad quote chars... #179

Closed roadk1ll closed 4 years ago

roadk1ll commented 4 years ago

demo tests fail as expected content cannot match due to quote chars.

Raw copy: (looks fine) demo.c: In function ‘socket_htons’: demo.c:36:: warning: Mismatching type in call to PyArg_ParseTuple with format code "i:htons" demo.c: In function ‘not_enough_varargs’: demo.c:46:: warning: Not enough arguments in ca...

What you get in vi...looks like a copy paste thing... demo.c: In function ▒~@~Xsocket_htons▒~@~Y: demo.c:36:: warning: Mismatching type in call to PyArg_ParseTuple with format code "i:htons" demo.c: In function ▒~@~Xnot_enough_varargs▒~@~Y: demo.c:46:: warning: Not enough arguments in ca

Correct and all is as expected.

roadk1ll commented 4 years ago

Again my env -

roadk1ll commented 4 years ago

yep - docker locales:

LANG= LC_CTYPE="POSIX" LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL=