Opened 3 years ago

Closed 15 months ago

Last modified 3 weeks ago

#333 closed task (fixed)

lex_string_ should support define_area_-provided extensible areas to hold token descriptors

Reported by: Gary Dixon Owned by: Gary Dixon
Priority: major Milestone: MR12.9
Component: Tools Version: MR12.8
Keywords: Cc:

Description

Now that define_area_ supports extensible areas of both freeing and non-freeing variety, it would be useful for lex_string_.pl1 to support allocations in such areas (in addition to retaining support for the older translator_temp_ version of extensible non-free areas).

This can easily be done by checking the area_header of the caller-supplied area for supported standard-area version numbers (0 or 1) and the area_header.flags.extended switch. If all are found, the area will be treated as supplied by define_area_ allowing storage to be added using a PL/I alloc statement; otherwise, storage will be added using the translator_temp_-supplied allocate subroutine (provided in translator_temp_alloc.incl.pl1).

Change History (4)

comment:1 by Gary Dixon, 16 months ago

Owner: changed from Eric Swenson to Gary Dixon
Status: new → accepted

comment:2 by Eric Swenson, 15 months ago

Resolution: → fixed
Status: accepted → closed

comment:3 by Eric Swenson, 15 months ago

Milestone: No Milestore → MR12.9

comment:4 by Gary Dixon, 3 weeks ago

Summary: lex_string_ should support define_area_-provide extensible areas to hold token descriptors → lex_string_ should support define_area_-provided extensible areas to hold token descriptors
Note: See TracTickets for help on using tickets.