[lld] r202111 - [LinkerScript] OUTPUT_FORMAT: Parse Quoted Strings

Michael Spencer bigcheesegs at gmail.com
Tue Feb 25 00:32:52 PST 2014


On Mon, Feb 24, 2014 at 9:42 PM, Rui Ueyama <ruiu at google.com> wrote:
> In this patch, "foo" will be parsed as a token of type quotedString and foo
> (bare string) is of type identifier, but I think we don't need to
> distinguish one from other. Whether a token was quoted or not is not
> important for the core linker script interpreter. Can you remove
> quotedString and just use type identifier?

I agree. I'd really rather not add quotedString to the lexer. It's not
worth handling one weird case that ld is inconsistent on.

- Michael Spencer



More information about the llvm-commits mailing list