#PYTHON:Scripts/cpplint.py File "PYTHON:Scripts/cpplint.py", line 927 _hpp_headers = {ext.strip() for ext in val.split(',')} ^ SyntaxError: invalid syntax #
Is it a Python 2.5.4 problem? Tested under windows 10 with python 2.7.11 and worked fine.
Downloaded from: https://github.com/cpplint/cpplint
TiA
File attachments:
Attachment | Size |
---|---|
cpplint.zip | 71.49 KB |
Yes, dictionary and set comprehensions was backported into 2.7 from 3.1 python.
ok, thx and your fix works :-) but there are more "errors" and don't think I have enough python knowledge to "fix" and port it to v2.5.
AOS4.1/SAM460ex/PPC460EX-1155MHZ/2048MB/RadeonHD6570/SSD120GB/DVDRW :-P