Ticket #2154 (closed RFC: done)

Opened 3 years ago

Last modified 3 years ago

Add mem_sys_strndup() function

Reported by: Felipe Owned by:
Priority: normal Milestone:
Component: imcc Version: 3.5.0
Severity: low Keywords:
Cc: Language:
Patch status: new Platform: all

Description

Reading imcc.l file I see that we could save some strlen calls by introducing a strndup()-like function and using the yyleng variable.

I've created a branch and committed such changes:  https://github.com/felipensp/parrot/commit/3fc47528b19f9cbfc73bba7aa2d3da3c265f8f47  https://github.com/felipensp/parrot/commit/4d43e86c8a6e0269c2240681bedae850464ad7b2

Change History

Changed 3 years ago by Felipe

  • status changed from new to closed
  • resolution set to done

The changes has been merged.

Note: See TracTickets for help on using tickets.