public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* java/7950: jc1 parses files ending in 0x0d incorrectly
@ 2002-09-17  7:16 green
  0 siblings, 0 replies; 2+ messages in thread
From: green @ 2002-09-17  7:16 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7950
>Category:       java
>Synopsis:       jc1 parses files ending in 0x0d incorrectly
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 17 07:16:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Anthony Green
>Release:        3.3 20020908 (experimental)
>Organization:
>Environment:
System: Linux dewey 2.4.7-10smp #1 SMP Thu Sep 6 17:09:31 EDT 2001 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: /home/green/FSF/GCC/HEAD/gcc/configure --prefix=/es/scratch/green/FSF/i --enable-languages=c,c++,java --with-languages=c,c++,java --enable-threads : (reconfigured) 
>Description:

	I've come across some java source which emacs claims is a
"Mac" file (presumably edited on a Mac).  In any case, it uses 0x0d as
the end-of-line character.  gcj reports an error when this is the last
character in a source file.
>How-To-Repeat:
I will upload a test source file to the gnats page when it is created.  But
you reall just need any source file which ends in 0x0d.

$ gcj -C /tmp/eofparse.java
/tmp/eofparse.java:4: Invalid character `\uffff' in input.
   ^
1 error

>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: java/7950: jc1 parses files ending in 0x0d incorrectly
@ 2002-09-17 14:01 tromey
  0 siblings, 0 replies; 2+ messages in thread
From: tromey @ 2002-09-17 14:01 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, green, java-prs, nobody, tromey

Synopsis: jc1 parses files ending in 0x0d incorrectly

Responsible-Changed-From-To: unassigned->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Tue Sep 17 14:01:21 2002
Responsible-Changed-Why:
    I'm handling this.
State-Changed-From-To: open->closed
State-Changed-By: tromey
State-Changed-When: Tue Sep 17 14:01:21 2002
State-Changed-Why:
    I checked in the fix.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7950


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-17 21:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-17  7:16 java/7950: jc1 parses files ending in 0x0d incorrectly green
2002-09-17 14:01 tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).