summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw44@gmail.com>2015-11-30 02:48:33 +0800
committerTing-Wei Lan <lantw44@gmail.com>2015-11-30 02:48:33 +0800
commit3a37021f50c3cf3043d07f344210215c202967eb (patch)
tree1e21befa86c3856edd502ce17dd5690f44989d62
parent71ddd0d3f555b82165f98fae4ab814780c915740 (diff)
downloadcompiler2015-3a37021f50c3cf3043d07f344210215c202967eb.tar
compiler2015-3a37021f50c3cf3043d07f344210215c202967eb.tar.gz
compiler2015-3a37021f50c3cf3043d07f344210215c202967eb.tar.bz2
compiler2015-3a37021f50c3cf3043d07f344210215c202967eb.tar.lz
compiler2015-3a37021f50c3cf3043d07f344210215c202967eb.tar.xz
compiler2015-3a37021f50c3cf3043d07f344210215c202967eb.tar.zst
compiler2015-3a37021f50c3cf3043d07f344210215c202967eb.zip
All source files should include vim modelines
-rw-r--r--src/ast.c2
-rw-r--r--src/ast.h1
-rw-r--r--src/draw.c2
-rw-r--r--src/parser.y2
4 files changed, 7 insertions, 0 deletions
diff --git a/src/ast.c b/src/ast.c
index 4d46106..eb3ac54 100644
--- a/src/ast.c
+++ b/src/ast.c
@@ -118,3 +118,5 @@ AST_NODE* makeExprNode(EXPR_KIND exprKind, int operationEnumValue)
}
return exprNode;
}
+
+// vim: set sw=4 ts=4 sts=4 et:
diff --git a/src/ast.h b/src/ast.h
index 891d869..7454117 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -180,3 +180,4 @@ void semanticAnalysis(AST_NODE *root);
void printGV(AST_NODE *root, const char* fileName);
#endif
+// vim: set sw=4 ts=4 sts=4 et:
diff --git a/src/draw.c b/src/draw.c
index 11cad74..36bce48 100644
--- a/src/draw.c
+++ b/src/draw.c
@@ -212,3 +212,5 @@ void printGV(AST_NODE *root, const char* fileName)
fprintf(fp , "}\n");
fclose(fp);
}
+
+// vim: set sw=4 ts=4 sts=4 et:
diff --git a/src/parser.y b/src/parser.y
index 2c126c0..e9493e1 100644
--- a/src/parser.y
+++ b/src/parser.y
@@ -694,3 +694,5 @@ static void yyerror(const char *mesg)
line_number, yytext);
exit(1);
}
+
+// vim: set sw=4 ts=4 sts=4 et: