From: Lars Ingebrigtsen <larsi@gnus.org>
To: Warren Lynn <wrn.lynn@gmail.com>
Cc: 24619@debbugs.gnu.org
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 [thread overview]
Message-ID: <87y2ij82rx.fsf@gnus.org> (raw)
In-Reply-To: <CAMyoMRWfrSZYYvzS7=Lr43bLKBxvMUZFUxRsqp1JEJkofe+phA@mail.gmail.com> (Warren Lynn's message of "Tue, 4 Oct 2016 17:02:36 -0400")
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
next prev parent reply other threads:[~2020-11-30 12:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-04 21:02 bug#24619: semantic does not parse legal C++ code correctly (Emacs 25.1 and Emacs 24.5.1) Warren Lynn
2020-11-30 12:09 ` Lars Ingebrigtsen [this message]
2021-01-19 7:31 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y2ij82rx.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=24619@debbugs.gnu.org \
--cc=wrn.lynn@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.