all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@users.sourceforge.net>
To: Rolf Ade <rolf@pointsman.de>
Cc: 23775@debbugs.gnu.org
Subject: bug#23775: 25.0.95.2; c-mode: Incorrect indentation and function bundery detection
Date: Wed, 15 Jun 2016 21:34:11 -0400	[thread overview]
Message-ID: <CAM-tV-8zHkAEpEcHs9r+ZfLGZqHa91djKp2PkH_txiiKaL=vJQ@mail.gmail.com> (raw)
In-Reply-To: <8760tac594.fsf@linux-qg7d.fritz.box>

On Wed, Jun 15, 2016 at 9:05 PM, Rolf Ade <rolf@pointsman.de> wrote:
> However well advised such code is, gcc foo.c just compilies.

s/well/ill/? gcc compiles the below as well, but IMO you can't expect
Emacs to be able to properly handle every horrible trick that's
possible with the preprocessor.

#define BEGIN {
#define STOP ;

int main() BEGIN
  int a, b STOP
  if (a == 0) BEGIN
        if (b==0) {
          return 0 STOP
            }
}
}





  reply	other threads:[~2016-06-16  1:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-16  1:05 bug#23775: 25.0.95.2; c-mode: Incorrect indentation and function bundery detection Rolf Ade
2016-06-16  1:34 ` Noam Postavsky [this message]
     [not found] ` <mailman.1576.1466039228.1216.bug-gnu-emacs@gnu.org>
2016-06-16  9:18   ` Alan Mackenzie
     [not found] <20160616091839.6925.qmail@mail.muc.de>
2016-06-21 23:16 ` Rolf Ade

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='CAM-tV-8zHkAEpEcHs9r+ZfLGZqHa91djKp2PkH_txiiKaL=vJQ@mail.gmail.com' \
    --to=npostavs@users.sourceforge.net \
    --cc=23775@debbugs.gnu.org \
    --cc=rolf@pointsman.de \
    /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.