[PATCH] D14252: [AsmParser] Allow tokens to be put back in to the token stream.
Colin LeMahieu via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 10 07:34:23 PST 2015
colinl added a comment.
I think that's a more ideal situation, in related commits I did add the ability for targets to specify additional tokens http://reviews.llvm.org/D14256
It seems like if things get much more complicated we're going to need a real, target specified parser and lexer produced by parser generator tools.
I'll keep looking at it though, maybe I can move things around and rewrite them in terms of peekTokens. Then again peekTokens could be rewritten in terms of this.
Repository:
rL LLVM
http://reviews.llvm.org/D14252
More information about the llvm-commits
mailing list