Skip to content
  • Jeremy Evans's avatar
    29c1e9a0
    Document the difference between expressions and statements [ci skip] · 29c1e9a0
    Jeremy Evans authored
    In the grammar, all expressions are statements, but not all
    statements are expressions.  Some parts of the grammar accept
    expressions and not other types of statements, which causes
    similar looking code to parse differently due to operator
    precedence.
    
    Mostly from Dan0042 (Daniel DeLorme).
    
    Fixes [Bug #16092]
    29c1e9a0
    Document the difference between expressions and statements [ci skip]
    Jeremy Evans authored
    In the grammar, all expressions are statements, but not all
    statements are expressions.  Some parts of the grammar accept
    expressions and not other types of statements, which causes
    similar looking code to parse differently due to operator
    precedence.
    
    Mostly from Dan0042 (Daniel DeLorme).
    
    Fixes [Bug #16092]
Loading