<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Aug 25, 2016 at 5:46 PM, Reid Kleckner <span dir="ltr"><<a href="mailto:rnk@google.com" target="_blank">rnk@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">rnk added a comment.<br>
<br>
I think these are known as "IDL attributes":<br>
<a href="https://msdn.microsoft.com/en-us/library/8tesw2eh.aspx" rel="noreferrer" target="_blank">https://msdn.microsoft.com/en-<wbr>us/library/8tesw2eh.aspx</a><br>
<br>
Let's update the naming to use that terminology, so AS_MS should be AS_IDL, and MaybeParseMicrosoftAttributes should be MaybeParseMicrosoftIDLAttribut<wbr>es, etc.<br>
<br>
Also, doesn't this introduce ambiguities into the grammar? Something like this:<br>
<br>
  void useit(int);<br>
  int main() {<br>
    int uuid = 42;<br>
    [uuid]() {<br>
      useit(uuid);<br>
    }();<br>
  }<br>
<br>
Will we keep parsing that as a lambda after this change or not?</blockquote><div><br></div><div>I can see why (paraphrasing that MSDN article) parsing these attributes requires you to be a wizard. </div></div></div></div>