Details
Details
- Reviewers
ruiu
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Nice. Can have problems with peek() though as
const char *Tok = Tokens[Pos - 1].data();
will return the previous token in code like:
StringRef E = peek(); if (E == "foo") error("bar");
Comment Actions
I checked the testcase, fixed it (line numeration in mine started from 0. bfd/gold start from 1 like in your code).
And updated the patch, so you can commit it if you think the test is ok itself.