|
From: | Andrew Janke |
Subject: | [Octave-bug-tracker] [bug #56032] Weird "if" parsing behavior ignores stuff past first expression in some cases |
Date: | Sat, 30 Mar 2019 06:26:26 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36 |
Follow-up Comment #3, bug #56032 (project octave): Speaking of which, the "if" statement documentation - https://octave.org/doc/v4.2.1/The-if-Statement.html#The-if-Statement - is written as though parentheses are required. Parentheses aren't actually part of the if/while/for syntax; they're a grouping operation that we choose to use there as a stylistic convention. Might be good to mention that, at least as a footnote. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?56032> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |