-
Notifications
You must be signed in to change notification settings - Fork 571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
expression "... unless $condition" is broken in 5.28+ #16840
Comments
From the.dmol@yandex.byCreated by the.dmol@yandex.byThis is a bug report for perl from the.dmol@yandex.by, ----------------------------------------------------------------- The script: my $x = 11; Leads to error: syntax error at /tmp/1.pl line 3, near "... unless" In the community it is said that it works fine with perl 5.26, Perl Info
|
From @jkeenanOn Tue, 05 Feb 2019 12:32:00 GMT, the.dmol@yandex.by wrote:
Bisection results: ##### parse yada-yada only as a statement Commit f5727a1 tried to make yada-yada be parsed consistently as a term expression, but actually things are more complicated than that. The tokeniser didn't accept yada-yada in the right contexts to make it usable as an expression, and changing that would require decisions on resolving ambiguities between yada-yada and flip-flop. It's also documented as being a statement rather than an expression, though with some incorrect information about ambiguities. Overall it looks more like the intent was for yada-yada to be a statement. This commit makes it grammatically treated as such, and also fixes up the dubious parts of the documentation. [perl #132150] :100644 100644 bd778164b46127635824789e3342c6c0231bfec5 e5baa09042f1310c3387467d092d412f9fa5dd93 M perly.act ##### Thank you very much. |
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#133825 (status was 'open')
Searchable as RT133825$
The text was updated successfully, but these errors were encountered: