Comments (4)
This is because this code isn't built for C language. If you want to use it for C, use the typedef strict in order to prevent the lexer from thinking it is a struct instead of a function.
Thanks for the detailed context, and the minimal example.
Close the issue if it helps.
Cheers
from nsiqcppstyle.
The README (and the original description on Google Code) claims that both C and C++ are supported, so it would be nice if the documentation explained what limitations exist for C code.
from nsiqcppstyle.
I have no control over Google Code since I am not the original author, but am maintaining the code for personal use.
However, I'll try to work on this issue. I'll update the README here to incorporate this limitation.
If you can figure out a way to remove the corner case, do create a PR
from nsiqcppstyle.
Thanks! I'll keep you updated in case I find time to do something about it.
Closing the bug since it's now a documented feature.
from nsiqcppstyle.
Related Issues (20)
- Possible indentation bug
- fmt::sprintf() is triggering the libc sprintf() rule HOT 5
- Line continuations on nsiqcppstyle_exe.py HOT 1
- what is the best way to prepare a source code distribution? HOT 1
- Update README.md: Remove or update project site information. HOT 1
- Doxygen "Qt style" /*! is considered as a violation HOT 1
- Files with UPPERCASE extensions are not processed HOT 3
- Add new rule callback functions when COMMENT or CPPCOMMENT token type encountered HOT 1
- Add callback functions to mark the start and end of an NsiqCppStyle session HOT 1
- Provide a tool to show which callback functions are invoked for given source code HOT 2
- Overloaded operator function name should be returned as one FUNCTION token, not two tokens FUNCTION + <operator> HOT 2
- Try reduce the duplication in rule callbacks HOT 1
- Use `Path` instead of `str` and validate user provided paths
- How to check if variable name conforms to specification HOT 3
- Support running user rule files located outside of the NsiqCppStyle package HOT 1
- Remove all code related to updating NsiqCppStyle from a remote repository HOT 3
- There is no way to specify a file name pattern as an INCLUDE/EXCLUDE filter HOT 1
- Provide regression tests (in nsiqunittest/nsiqcppstyle_unittest.py) for NsiqCppStyle engine internals HOT 1
- Create top-notch GitHub wiki documentation HOT 1
- Write XML Uses Binary instead of String HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nsiqcppstyle.