Article View: gnu.emacs.bug
Article #87382Quote char in C++ comment not ignored
From: peter
Date: Wed, 28 Sep 1994 21:35
Date: Wed, 28 Sep 1994 21:35
31 lines
1268 bytes
1268 bytes
Complaint:
C++ mode gets confused by single quote character in comment,
/*...*/ as well as //... comment.
(Works OK in C-mode with /*...*/ comment)
M-x emacs-version:
GNU emacs 19.22.9 of Thu Jan 6 1994 (irix)
Configuration:
Vanilla
Machine:
SGI Indigo running Irix 5.1.1
Sample file:
--------------- sample.cc -----------------
void f()
{
// Doesn't grok quote character in comment
}
-------------------------------------------
Steps To reproduce:
- visit sample.cc
- (turn on C++-mode, if necessary)
- position dot on opening brace
- ESC C-e (end-of-defun)
--> complains about unbalanced parentheses
Technical Details
Message-ID:
<9409282128.AA02309@vedge.com>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!vedge.UUCP!peterShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,7968e48aa7fae6a3,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1994-09-28 15:32:33 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!vedge.UUCP!peter From: peter@vedge.UUCP Newsgroups: gnu.emacs.bug Subject: Quote char in C++ comment not ignored Date: 28 Sep 1994 17:35:32 -0400 Organization: GNUs Not Usenet Lines: 32 Sender: daemon@cis.ohio-state.edu Approved: bug-gnu-emacs@prep.ai.mit.edu Distribution: gnu Message-ID: <9409282128.AA02309@vedge.com>