summaryrefslogtreecommitdiff
path: root/parse/node.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-01-01 01:30:17 -0800
committerOri Bernstein <ori@eigenstate.org>2016-01-01 01:30:17 -0800
commite22c4b573a6d0d71a8781ef655a7249f8b1921a4 (patch)
treeb8987ba2209db53a0f5fdbc27ddac66838e6e754 /parse/node.c
parentffc55ee721c02d1caede8d7fbad9e8b687f01306 (diff)
downloadmc-e22c4b573a6d0d71a8781ef655a7249f8b1921a4.tar.gz
Fix style.
Diffstat (limited to 'parse/node.c')
-rw-r--r--parse/node.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/parse/node.c b/parse/node.c
index 309cca8..023dd01 100644
--- a/parse/node.c
+++ b/parse/node.c
@@ -507,8 +507,7 @@ static size_t did(Node *n)
{
if (n->type == Ndecl) {
return n->decl.did;
- }
- else if (n->type == Nexpr) {
+ } else if (n->type == Nexpr) {
assert(exprop(n) == Ovar);
return n->expr.did;
}