mirror of
https://github.com/intel/llvm.git
synced 2026-01-17 23:45:25 +08:00
[ELF] - Implemented comparsion operators for linkerscript.
Patch adds support of <,>,!=,==,>=,<= operators. Differential revision: http://reviews.llvm.org/D19419 llvm-svn: 267382
This commit is contained in:
@@ -75,7 +75,7 @@ std::vector<StringRef> ScriptParserBase::tokenize(StringRef S) {
|
||||
// Unquoted token
|
||||
size_t Pos = S.find_first_not_of(
|
||||
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
|
||||
"0123456789_.$/\\~=+[]*?-:");
|
||||
"0123456789_.$/\\~=+[]*?-:!<>");
|
||||
// A character that cannot start a word (which is usually a
|
||||
// punctuation) forms a single character token.
|
||||
if (Pos == 0)
|
||||
|
||||
Reference in New Issue
Block a user