🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #6149

Parse error?

#6149
From: Ori Dvir
Date: Sun, 17 Nov 1996 00:00
25 lines
772 bytes
Hi,

I have a problem of parsing:
when i compile this file :

main(){
int a;
a = 0x2e+0;
}

>gcc t.c

I get :

t.c: In function `main':
t.c:6: garbage at end of number

The expresion should stand for: 0x2e + 0 ( hex + decimal ).

I'm using gcc version 2.7.2 on Sun meachines.

Thanks,
Ori dvir :  orid@taux01.nsc.com.il
 
Technical Details
Message-ID: <9611170640.AA00525@tasu5k.nsc.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113d02,39f8d0ab16fe7db1
X-Google-Attributes: gid113d02,public
From: orid@taux01.nsc.com (Ori Dvir)
Subject: Parse error?
Date: 1996/11/17
Message-ID: <9611170640.AA00525@tasu5k.nsc.com>
X-Deja-AN: 197109981
sender: bug-gcc-request@prep.ai.mit.edu
x-gateway: relay3.UU.NET from bug-gcc to gnu.gcc.bug; Sun, 17 Nov 1996 01:42:02 EST
newsgroups: gnu.gcc.bug