Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Failed highlighting, new grammar 'here documents' at perl 5.26.1 #93

Open
Mizuki-Oonojou opened this issue Feb 6, 2018 · 0 comments
Open
Labels

Comments

@Mizuki-Oonojou
Copy link

New grammar 'here documents' at Perl 5.26.1

Indent here documents code <<~.

e.g.

Source file: heredoc.pl

use v5.26.1;
for (1 .. 3) {
  print STDOUT <<~'EOT';
    Hello, world!
    EOT
  print STDOUT "Failed.\n";
}

Failed highlighting 'print STDOUT "Failed.\n"; }'.

Run heredoc.pl.

$ perl heredoc.pl
Hello, world!
Failed.
Hello, world!
Failed.
Hello, world!
Failed.

Help!

@winstliu winstliu added the bug label Feb 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants