Related articles |
---|
[18 earlier articles] |
Re: Is the dangling else a syntax bug? vbdis@aol.com (2001-07-27) |
Re: Is the dangling else a syntax bug? wb@vestein.arb-phys.uni-dortmund.de (2001-07-30) |
Re: Is the dangling else a syntax bug? mike@dimmick.demon.co.uk (Mike Dimmick) (2001-07-30) |
Re: Is the dangling else a syntax bug? wclodius@aol.com (2001-07-30) |
Re: Is the dangling else a syntax bug? joachim_d@gmx.de (Joachim Durchholz) (2001-07-30) |
Re: Is the dangling else a syntax bug? marcov@toad.stack.nl (2001-08-02) |
Re: Is the dangling else a syntax bug? vbdis@aol.com (2001-08-02) |
Re: Is the dangling else a syntax bug? stephen_bevan@yahoo.com (2001-08-06) |
From: | vbdis@aol.com (VBDis) |
Newsgroups: | comp.compilers |
Date: | 2 Aug 2001 02:46:46 -0400 |
Organization: | AOL Bertelsmann Online GmbH & Co. KG http://www.germany.aol.com |
References: | 01-07-160 |
Keywords: | design, syntax |
Posted-Date: | 02 Aug 2001 02:46:46 EDT |
wclodius@aol.com (Wclodius) schreibt:
>The solution is easy. Define the language so that indentation using
>tabs is illegal. If you want the convenience of automatically
>indenting using the tab key, configure the editor so that depressing
>the tab key results in the inserstion of an appropriate number of
>space characters and not a single tab character.
The "appropriate" number of space characters (to be defined!) IMO
makes tabs the better choice for indentation. One tab - one level of
indentation.
As you mentioned already, a system-wide definition for the tab width
will cure possible problems in printing, and encourages all tools to
use that user-definable value.
DoDi
Return to the
comp.compilers page.
Search the
comp.compilers archives again.