bug-recutils
[Top][All Lists]
Advanced

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

Re: [bug-recutils] Expand external descriptor to include a typedef uniqu


From: Charles Millar
Subject: Re: [bug-recutils] Expand external descriptor to include a typedef unique to one file
Date: Tue, 13 Oct 2015 20:29:26 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

Hi Jose,

On 10/12/2015 09:27 AM, Jose E. Marchesi wrote:
Hi Charles.

     I have many files (emacs) in which I call an external descriptor
%rec: Finance /mnt/Data/ActiveFiles/Finance.rec In the external descriptor I have typedef: Schedules_t foo bar For one file is it possible to expand typedef: Schedlues_t to include
     baz, where baz is unique to that one file, such as
%rec: Finance /mnt/Data/ActiveFiles/Finance.rec
     %typedef: Schedules_t enum baz
The above results in an error when I "recfix" the file, so I suspect
     that, if it is possible, the only way to this is to  somehow cat the
     additional typedef onto the external descriptor.
Hmmm. Your example raises "error: invalid typedef specification"
because "foo bar" is not a valid type spec.
In the original post I forgot to type in the %; in the external descriptor it is

%typedef: (etc)
Regarding the extension of enumerates, I am afraid it is not currently
supported.

I suspected this; so I set fields which are associated with a particular file using


%allowed:
%typedef:
%type:

after the initial %rec: line

Thanks.

Charlie



reply via email to

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