Thread (1 message) 1 message, 1 author, 2008-10-03

Re: [2/5] dtc: Use flex's YY_USER_ACTION feature to avoid code duplication

From: Jon Loeliger <hidden>
Date: 2008-10-03 17:16:28

Possibly related (same subject, not in this thread)

Current, every lexer rule starts with some boiler plate to update the
yylloc value for use by the parser.  One of the rules, even mistakenly
has a redundant allocation to one of the members.

This patch uses the flex YY_USER_ACTION macro hook, which is executed
before every rule to avoid this duplication.

Signed-off-by: David Gibson <redacted>
Applied.

Thanks,
jdl
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help