for (;<$foo>;) misparsed
Closed this issue · 1 comments
Grinnz commented
In the C-style for loop, <$foo>
in the middle argument is misparsed as two operators surrounding a token rather than a readline quotelike. <FOO>
as well.
PPI::Statement::Compound
PPI::Token::Word 'for'
PPI::Token::Whitespace ' '
PPI::Structure::For ( ... )
PPI::Statement::Null
PPI::Token::Structure ';'
PPI::Statement
PPI::Token::Operator '<'
PPI::Token::Word 'DATA'
PPI::Token::Operator '>'
PPI::Token::Structure ';'
PPI::Token::Whitespace ' '
PPI::Structure::Block { ... }
wchristian commented
This is fixed in https://metacpan.org/release/MITHALDU/PPI-1.254