#1155 syntax error when parsing "operator T*&();"

closed-fixed
szager
parsing (147)
5
2011-05-21
2011-04-12
szager
No

That bit of legal C++ syntax generates this error:

Error: Syntax error in input(3).

Attached are a test case that demonstrates the problem, and a patch that fixes it.

Discussion

  • szager

    szager - 2011-04-12

    test case

     
  • szager

    szager - 2011-04-12

    code fix

     
  • szager

    szager - 2011-04-12

    Fixed in revision 12637

     
  • szager

    szager - 2011-04-12
    • status: open --> open-fixed
     
  • William Fulton

    William Fulton - 2011-05-21
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.