octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: handling comments in the parser


From: Daniel J Sebald
Subject: Re: handling comments in the parser
Date: Wed, 06 Jun 2012 16:14:47 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On 06/06/2012 04:04 PM, John W. Eaton wrote:

So would there be any objection to simplifying the parser so that it
discards comments (except for the first block that defines the
docstring for a function; we would continue to store that as needed)?
Can anyone think of trouble that this change would cause?

Would this throw off the line numbers for debugging in some way?

Might it be worth keeping this code in some form as a translator feature? I.e., creates canonical syntax from users code?

Dan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]