Comments (3)
Hello and thank you for reporting this
Could you integrate the code itself instead of screenshots?
from norminette.
Sure :)
void test(void)
{
int i;
int (*f)(const t_module *m, char ***p_options);
(void)i;
(void)f;
}
from norminette.
It seems like it's not recognized as a variable definition?
If you put a newline between int i and the function pointer it says OK.
Apart from that it wants a space between * and m, but that's another bug which I thought was fixed with 21, 18, 16, 14, but maybe not for this scope ;-)
void test(void)
{
int i;
int x;
int (*f)(const t_module * m, char ***p_options);
(void)i;
(void)f;
}
If it's not a custom typedef it only works without space
void test(void)
{
int i;
int x;
int (*f)(const int *m, char ***p_options);
(void)i;
(void)f;
}
from norminette.
Related Issues (20)
- Add optional compiler-style line numbering HOT 2
- Add Support for Error Message Translations in Different Languages HOT 2
- Error "Unrecognized line" when Using Specific Arguments in Functions. HOT 2
- Does not report an error when there is no character between the ending curve bracket and the name of a typedef
- Norminette does not check struct name when it is a typedef
- EDIT : wrong git
- Does not recognise multiple assignations when the middle has a cast
- no newline at end of file required if last line is a comment
- So-called "unnecessary header inclusion"
- Unexpected "Invalid file argument for #include directive" HOT 1
- Compound literals with explicit variable identification getting picked up as assignment in control strcuture
- detects DECL_ASSIGN_LINE on const pointers to functions HOT 1
- Header files don't *need* to have a newline before the EOF
- Way of bypassing all norm check (except line too long)
- Inconsistent detection when using the cast operator inside a block
- Even If I had it or not I have an error message HOT 1
- AttributeError: 'NoneType' object has no attribute 'pos' HOT 5
- Function types used as function prototypes get recognized as global variables. HOT 2
- No PR template
- Fix Readme for post PEP 668 installation HOT 1
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 norminette.