Bug 1099956 - Style nitpick. r=ridiculously-trivial
authorJeff Walden <jwalden@mit.edu>
Wed, 19 Nov 2014 10:04:12 -0800
changeset 216519 919f1447246549a8837674dff1c72fc4d02fe11c
parent 216518 613266d6f6ecbf2a2ebd07f88ec4c841fb93324a
child 216520 f1da786780bad8f5a8b6e05696ea6fa0b3a0e968
push idunknown
push userunknown
push dateunknown
reviewersridiculously-trivial
bugs1099956
milestone36.0a1
Bug 1099956 - Style nitpick. r=ridiculously-trivial
js/src/frontend/Parser.cpp
--- a/js/src/frontend/Parser.cpp
+++ b/js/src/frontend/Parser.cpp
@@ -5807,18 +5807,19 @@ Parser<ParseHandler>::statement(bool can
                 return null();
             if (!report(ParseWarning, false, null(), JSMSG_USE_ASM_DIRECTIVE_FAIL))
                 return null();
         }
         return expressionStatement();
 
       case TOK_YIELD: {
         TokenKind next;
-        TokenStream::Modifier modifier = yieldExpressionsSupported() ? TokenStream::Operand
-                                                                     : TokenStream::None;
+        TokenStream::Modifier modifier = yieldExpressionsSupported()
+                                         ? TokenStream::Operand
+                                         : TokenStream::None;
         if (!tokenStream.peekToken(&next, modifier))
             return null();
         if (next == TOK_COLON) {
             if (!checkYieldNameValidity())
                 return null();
             return labeledStatement();
         }
         return expressionStatement();