#529 Shift operator isn't recognized and gets destroyed

Future
fixed
nobody
Tokenizing (35)
C++
5
2014-08-17
2013-01-20
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 '>>'

     
    • Anonymous - 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.

     
  • Anonymous - 2014-08-17

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

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks