platform_build_soong/androidmk
Colin Cross 08693d2bf2 Improve makefile parser
Improve the androidmk makefile parser based on ideas from go/ast and
friends:
   - Use type switching instead of the As* mess
   - Don't store endPos for every node, compute it based on the last
     known position in the node plus the length of the last token
   - Store positions as only the offset into the file, and then unpack
     them into Line/Column scanner.Position objects later

Change-Id: I87eb6661859951e6c2ea5a85db6229fa5561d615
2016-05-26 03:34:30 +00:00
..
cmd/androidmk Improve makefile parser 2016-05-26 03:34:30 +00:00
parser Improve makefile parser 2016-05-26 03:34:30 +00:00