[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Obsolete parser tokens?
From: |
John W. Eaton |
Subject: |
Re: Obsolete parser tokens? |
Date: |
Mon, 30 Jan 2012 23:12:52 -0500 |
On 30-Jan-2012, Rik wrote:
| On 01/30/2012 01:57 PM, John W. Eaton wrote:
|
| > Although set and get are normally function names, they are also
| > recognized specially for some kind of classdef syntax. They are not
| > keywords in Matlab though, so we could probably also fix Octave to
| > handle this syntax without requiring actual reserved keywords.
| >
| That is what I was thinking. I checked Matlab's keywords and they don't
| have 'get' or 'set' so I think we could do without.
I checked in the following change so the special get and set tokens
that are needed for the funky classdef get.PROPERTY and set.PROPERTY
functions are not treated as keywords
http://hg.savannah.gnu.org/hgweb/octave/rev/d1810b2ca809
jwe