Parse error
Hello,
spatch fails to parse the following line
- if (!~e) S
in the attached .cocci test case.
Using
- if (!(~e)) S
instead, works fine.
Thanks,
riccardo
-------------- next part --------------
@@
identifier func;
expression e;
statement S;
@@
func(...) {
- if (!~e) S
}
Quoted 6 lines · Riccardo Lucchese
Hello,
spatch fails to parse the following line
- if (!~e) S
Quoted 7 lines
in the attached .cocci test case.
Using
- if (!(~e)) S
instead, works fine.
Strange. I will look ino it.
julia
Quoted 6 lines · Riccardo Lucchese
Hello,
spatch fails to parse the following line
- if (!~e) S
Quoted 7 lines
in the attached .cocci test case.
Using
- if (!(~e)) S
instead, works fine.
It should work if you put a space between ! and ~.
julia