1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 01:47:01 +03:00

Move delete statement

This commit is contained in:
Rick Winfrey 2017-06-07 11:26:09 -07:00
parent a264123196
commit bf80b85637

View File

@ -91,6 +91,7 @@ statement :: HasCallStack => Assignment (Node Grammar) (Term Syntax Location)
statement = assertStatement
<|> assignment'
<|> augmentedAssignment
<|> deleteStatement
<|> expressionStatement
<|> globalStatement
<|> ifStatement
@ -100,7 +101,6 @@ statement = assertStatement
<|> printStatement
<|> raiseStatement
<|> returnStatement
<|> deleteStatement
expressionStatement :: HasCallStack => Assignment (Node Grammar) (Term Syntax Location)
expressionStatement = symbol ExpressionStatement *> children expression