#529 Shift operator isn't recognized and gets destroyed

Future
fixed
nobody
Tokenizing (34)
C++
5
2014-08-17
2013-01-20
ib
No

if (x < d >> 1)

transforms destroying the shift operator:

if (x < d > > 1)

Tested with 0.60 and -c /dev/null

Discussion

  • Ben Gardner
    Ben Gardner
    2013-07-13

    • Language: -->
    • Group: 0.60 --> Future
     
  • Ben Gardner
    Ben Gardner
    2013-07-13

    Does tok_split_gte=false fix that?
    I don't recall if that also applies to '>>'

     
    • ib
      ib
      2013-07-13

      No, tok_split_gte=false is already the default (-c /dev/null).

       
  • Ben Gardner
    Ben Gardner
    2014-08-17

    • labels: --> Tokenizing
    • status: open --> fixed
    • Language: --> C++
     
  • Ben Gardner
    Ben Gardner
    2014-08-17

    Retest with latest indicates that this was fixed.

     
  • ib
    ib
    2014-08-17

    Fixed for language C++, but not for C.