<div dir="ltr">That is obvious and no need to explain, no?<br></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jul 3, 2018 at 7:21 AM George Rimar via llvm-commits <<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: grimar<br>
Date: Tue Jul  3 07:16:19 2018<br>
New Revision: 336199<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=336199&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=336199&view=rev</a><br>
Log:<br>
[ELF] - Add a comment. NFC.<br>
<br>
Minor follow up for r336197<br>
"[ELF] - Add support for '||' and '&&' in linker scripts."<br>
<br>
Modified:<br>
    lld/trunk/ELF/ScriptLexer.cpp<br>
<br>
Modified: lld/trunk/ELF/ScriptLexer.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/ScriptLexer.cpp?rev=336199&r1=336198&r2=336199&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/ScriptLexer.cpp?rev=336199&r1=336198&r2=336199&view=diff</a><br>
==============================================================================<br>
--- lld/trunk/ELF/ScriptLexer.cpp (original)<br>
+++ lld/trunk/ELF/ScriptLexer.cpp Tue Jul  3 07:16:19 2018<br>
@@ -116,6 +116,7 @@ void ScriptLexer::tokenize(MemoryBufferR<br>
     }<br>
<br>
     // ">foo" is parsed to ">" and "foo", but ">>" is parsed to ">>".<br>
+    // "|", "||", "&" and "&&" are different operators.<br>
     if (S.startswith("<<") || S.startswith("<=") || S.startswith(">>") ||<br>
         S.startswith(">=") || S.startswith("||") || S.startswith("&&")) {<br>
       Vec.push_back(S.substr(0, 2));<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</blockquote></div>