dtc: srcpos, input handling cleanups
Status from this message: Applied.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | dtc: Implement and use an xstrdup() functionconvert-dtsv0-lexer.l dtc-lexer.l dtc-parser.y +7 more | +32 | 2 replies | |
| 2/5 | dtc: Use flex's YY_USER_ACTION feature to avoid code duplicationdtc-lexer.l | +5 | 5 replies | |
| 3/5 | dtc: Cleanup yyerrorf() functiondtc-parser.y srcpos.c srcpos.h | +25 | 2 replies | |
| 4/5 | dtc: Cleanup yylloc type and handlingdtc-lexer.l srcpos.c srcpos.h | +37 | 2 replies | |
| 5/5 | dtc: Clean up source file managementconvert-dtsv0-lexer.l dtc-lexer.l dtc-parser.y +6 more | +133 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [0/5] dtc: srcpos, input handling cleanups
While working on the expression / macro / function support stuff, my irritation with some uglies I've been meaning to clean up for ages reached critical point.
So, here's a patch series cleaning up the input file handling, and the srcpos / parser location tracking stuff. This is a fusion of some stuff I've had on the back-burner for a while with the srcpos related pieces from jdl's interpreted language series.
I'm pretty happy with patches 1-4, but 5 probably needs a bit more polish, and I'd like to add another patch adding column number tracking and a cleaner way of doing line tracking. But it's late and I'd like to get what I have out for people to look at.
Signature · 4 lines
David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson