Re: How to parse keywords that can be used as identifiers?

Ian Moor <iwm@doc.ic.ac.uk>
3 Sep 1996 21:59:54 -0400

          From comp.compilers

Related articles
[5 earlier articles]
Re: How to parse keywords that can be used as identifiers? grosch@cocolab.sub.com (1996-08-24)
Re: How to parse keywords that can be used as identifiers? dlmoore@ix.netcom.com (David L Moore) (1996-08-24)
Re: How to parse keywords that can be used as identifiers? itz@rahul.net (1996-08-24)
Re: How to parse keywords that can be used as identifiers? peter@bj-ig.de (Peter Brueckner) (1996-08-27)
Re: How to parse keywords that can be used as identifiers? stefan.monnier@lia.di.epfl.ch (Stefan Monnier) (1996-08-27)
Re: How to parse keywords that can be used as identifiers? fjh@mundook.cs.mu.OZ.AU (1996-08-27)
Re: How to parse keywords that can be used as identifiers? iwm@doc.ic.ac.uk (Ian Moor) (1996-09-03)
Re: How to parse keywords that can be used as identifiers? ok@cs.rmit.edu.au (1996-09-05)
Re: How to parse keywords that can be used as identifiers? jpff@maths.bath.ac.uk (1996-09-05)
| List of all articles for this month |

From: Ian Moor <iwm@doc.ic.ac.uk>
Newsgroups: comp.compilers
Date: 3 Sep 1996 21:59:54 -0400
Organization: Compilers Central
References: <96-08-058@comp.compilers 96-08-070 96-08-085
Keywords: parse, Fortran, question, comment

A textbook on compilers which I saw several years ago
described the effect on several commercial FORTRAN compilers
of a program like:
            INTEGER FORMAT
            DIMENSION FORMAT(3)
            I6 = 1
10 FORMAT(I6)
20 FORMAT(I6)=1
            WRITE(6,10) FORMAT(I6)


I would be interested to see what happens on current compilers.
[I know that WATFOR and WATFIV botched this case, but I'd hope that modern
compilers get it right. INfort did. -John]
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.