This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/49973] Column numbers count special characters as multiple columns


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49973

Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org

--- Comment #5 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> 2011-08-04 12:18:19 UTC ---
GNU Emacs 23.2.1 counts it as two, and puts the cursor at s.

For the simpler case of:

/* Ã */ asdf;

we print 

test.c:3:10: error: âasdfâ was not declared in this scope

whereas emacs counts only 1 char, so it again puts the cursor at s. I am not
sure whether Emacs is following some GNU standard, but the case of à versus n,
should at least produce the same result.

Unfortunately, I don't have time to work on this.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]