[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55347] PVS studio static analysis report
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #55347] PVS studio static analysis report |
Date: |
Mon, 7 Jan 2019 13:03:25 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
Follow-up Comment #43, bug #55347 (project octave):
Rik:
I'm not sure how the static analyzer reports line numbers, but if it is like a
regular compiler, then it wouldn't even see lex.ll directly, but only lex.cc,
which contains #line directives. With that and all the macros involved in
flex output, I think the line numbers for lex.ll can be confusing.
If the problem is the input line and column variables, why is it complaining
about yyg->yy_c_buf_p? In the generated code in lex.cc, yyg->yy_c_buf-p is
definitely assigned twice successively because of the use of the macro
YY_DO_BEFORE_ACTION inside the macro yyless.
It does look like the line number can be screwed up in the code you quoted in
comment #40.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55347>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #55347] PVS studio static analysis report, (continued)
- [Octave-bug-tracker] [bug #55347] PVS studio static analysis report, Rik, 2019/01/06
- [Octave-bug-tracker] [bug #55347] PVS studio static analysis report, Torsten, 2019/01/06
- [Octave-bug-tracker] [bug #55347] PVS studio static analysis report, Rik, 2019/01/06
- [Octave-bug-tracker] [bug #55347] PVS studio static analysis report, Andreas Weber, 2019/01/07
- [Octave-bug-tracker] [bug #55347] PVS studio static analysis report, Rik, 2019/01/07
- [Octave-bug-tracker] [bug #55347] PVS studio static analysis report, John W. Eaton, 2019/01/07
- [Octave-bug-tracker] [bug #55347] PVS studio static analysis report, John W. Eaton, 2019/01/07
- [Octave-bug-tracker] [bug #55347] PVS studio static analysis report, Rik, 2019/01/07
- [Octave-bug-tracker] [bug #55347] PVS studio static analysis report, Rik, 2019/01/07
- [Octave-bug-tracker] [bug #55347] PVS studio static analysis report, John W. Eaton, 2019/01/07
- [Octave-bug-tracker] [bug #55347] PVS studio static analysis report,
John W. Eaton <=
- [Octave-bug-tracker] [bug #55347] PVS studio static analysis report, Torsten, 2019/01/07
- [Octave-bug-tracker] [bug #55347] PVS studio static analysis report, Rik, 2019/01/07
- [Octave-bug-tracker] [bug #55347] PVS studio static analysis report, Rik, 2019/01/07
- [Octave-bug-tracker] [bug #55347] PVS studio static analysis report, Rik, 2019/01/07
- [Octave-bug-tracker] [bug #55347] PVS studio static analysis report, Rik, 2019/01/09
- [Octave-bug-tracker] [bug #55347] PVS studio static analysis report, John W. Eaton, 2019/01/09
- [Octave-bug-tracker] [bug #55347] PVS studio static analysis report, Dmitri A. Sergatskov, 2019/01/09
- [Octave-bug-tracker] [bug #55347] PVS studio static analysis report, John W. Eaton, 2019/01/10
- [Octave-bug-tracker] [bug #55347] PVS studio static analysis report, Dmitri A. Sergatskov, 2019/01/10
- [Octave-bug-tracker] [bug #55347] PVS studio static analysis report, Torsten, 2019/01/11