GNU Pascal Homepage - gpc - gpc-announce - gpc-de - gpc-doc
Diese Seite auf deutsch

Mail #11306

Back to main page of archive

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  

From: Adriaan van Os
Subject: --mac-pascal
Date: 29 Jan 2005, 22:14:39

Included is a diff that improves the employability of the --mac-pascal 
dialect. Previously, several language constructs available in GNU 
Pascal and in Macintosh Pascal compilers were rejected by gpc in 
--mac-pascal mode. I hope that with this diff most of them have been 
catched now.

The new gpc builds and passes the testsuite on powerpc-apple-darwin.

A few places in the source of the gpc compiler are unclear to me. They 
include:

	1.	predef.c line 423
        	
		chk_dialect ("direct access to files without declared domain is", 
B_D_PASCAL);

	2.	predef.c line 713

		flags = (co->pascal_dialect & (CLASSIC_PASCAL_LEVEL_0 | 
CLASSIC_PASCAL_LEVEL_1)) ? NEG_ZERO_WIDTH_ERROR_MASK
	        	: (co->pascal_dialect & E_O_PASCAL) ? NEG_WIDTH_ERROR_MASK
        			: (co->pascal_dialect & B_D_PASCAL) ? 0
			: NEG_WIDTH_LEFT_MASK;

	3.	expressions.c line 124
	
	       chk_dialect ("string concatenation without `Concat' or `+' is", 
B_D_PASCAL);

Regards,

Adriaan van Os


File attachment

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  


Replies

Author Subject Date
Waldek Hebisch --mac-pascal 29 Jan 2005, 23:30:52
Frank Heckenbach --mac-pascal 30 Jan 2005, 00:38:54
Adriaan van Os --mac-pascal 30 Jan 2005, 08:04:08
Adriaan van Os --mac-pascal 30 Jan 2005, 10:55:49
Peter N Lewis --mac-pascal 30 Jan 2005, 15:26:21
Frank Heckenbach --mac-pascal 30 Jan 2005, 14:17:36
Frank Heckenbach --mac-pascal 30 Jan 2005, 14:44:57
CBFalconer --mac-pascal 30 Jan 2005, 06:21:16
Adriaan van Os --mac-pascal 30 Jan 2005, 16:35:43
Adriaan van Os --mac-pascal 30 Jan 2005, 17:58:59
Adriaan van Os --mac-pascal 30 Jan 2005, 18:15:07
Gale Paeper --mac-pascal 31 Jan 2005, 22:38:18

Back to main page of archive


Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.

Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.


This page was created by Crystal 0.999 (Linux 2.4.27/i686).