From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,8143b93889fe9472 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII X-Received: by 10.66.76.201 with SMTP id m9mr1456246paw.33.1359685424150; Thu, 31 Jan 2013 18:23:44 -0800 (PST) Path: s9ni28038pbb.0!nntp.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.news.ucla.edu!news.snarked.org!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Ada standard and maximum line lengths Date: Mon, 28 Jan 2013 07:01:21 +0100 Organization: A noiseless patient Spider Message-ID: References: <8dfcf819-e1d0-4578-a795-a4bf724b5014@googlegroups.com> Mime-Version: 1.0 Injection-Date: Mon, 28 Jan 2013 06:01:18 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="709a3b9124d052b085bf6fc3f0a2adab"; logging-data="9535"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+r5P7G2PmxZU7ech8cZyxv" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 In-Reply-To: <8dfcf819-e1d0-4578-a795-a4bf724b5014@googlegroups.com> Cancel-Lock: sha1:1DFrN3YoHXonMWZg4XnuUbWWq3c= X-Enigmail-Version: 1.5 X-Received-Bytes: 2009 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Date: 2013-01-28T07:01:21+01:00 List-Id: Le 28/01/2013 06:02, Lucretia a �crit : > I was reading the Ada 2012 standard and found this, I was just > wondering why there is a maximum line length, it's not like we parse > the language a line at a time. Why not just accept it as a stream of > tokens and if there are line breaks, ignore? > Since an identifier cannot cross a line boundary, limiting the line length also limits the max length of an identifier, which can be of importance for the compiler. Note that it is a permission to limit the length, no obligation. -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00 http://www.adalog.fr