[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24619: semantic does not parse legal C++ code correctly (Emacs 25.1
From: |
Lars Ingebrigtsen |
Subject: |
bug#24619: semantic does not parse legal C++ code correctly (Emacs 25.1 and Emacs 24.5.1) |
Date: |
Mon, 30 Nov 2020 13:09:22 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Warren Lynn <wrn.lynn@gmail.com> writes:
> The following C++ code is not parsed correctly (where channel_info_t is a
> structure)
> channel_info_t* pChInfo = new channel_info_t;
>
> Semantic cannot decide the type for pChInfo. But if I change the code to:
> channel_info_t* pChInfo = new channel_info_t();
>
> Semantic then has no issue determining the type of pChInfo.
>
> This behavior is confirmed on both Emacs 24.5.1 and 25.1, on both Windows and
> Linux.
(This bug report unfortunately got no response at the time.)
Do you have a recipe to reproduce this bug, starting from "emacs -Q"?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#24619: semantic does not parse legal C++ code correctly (Emacs 25.1 and Emacs 24.5.1),
Lars Ingebrigtsen <=