johnthagen / johnthagen/clion-cppcheck
persistent line of `syntaxError` even after modification
Open
bug
- Dominant language
- Java
- Stars
- 35
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
```cpp
fi if;
//
```
(The empty line is intentional or it will be shown as a global error)
```
scratch_3.cpp:1:4: error: syntax error [syntaxError]
fi if;
^
```

---
Insert a leading empty line.
```cpp
//
fi if;
//
```
```
scratch_3.cpp:2:4: error: syntax error [syntaxError]
fi if;
^
```

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.