summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw44@gmail.com>2015-10-21 14:31:23 +0800
committerTing-Wei Lan <lantw44@gmail.com>2015-10-21 14:31:23 +0800
commit000bed18daaf2ed26a2b6371f6032881a6e5cdb9 (patch)
tree2cd356158a4c410d828a1ef3beae26b286766a18
parente29e9d49f18a5b794cb9e3ae60d8abd819140741 (diff)
downloadcompiler2015-000bed18daaf2ed26a2b6371f6032881a6e5cdb9.tar
compiler2015-000bed18daaf2ed26a2b6371f6032881a6e5cdb9.tar.gz
compiler2015-000bed18daaf2ed26a2b6371f6032881a6e5cdb9.tar.bz2
compiler2015-000bed18daaf2ed26a2b6371f6032881a6e5cdb9.tar.lz
compiler2015-000bed18daaf2ed26a2b6371f6032881a6e5cdb9.tar.xz
compiler2015-000bed18daaf2ed26a2b6371f6032881a6e5cdb9.tar.zst
compiler2015-000bed18daaf2ed26a2b6371f6032881a6e5cdb9.zip
Add modelines for vim
-rw-r--r--lexer.l1
-rw-r--r--symbol-table.c2
-rw-r--r--symbol-table.h2
3 files changed, 5 insertions, 0 deletions
diff --git a/lexer.l b/lexer.l
index 4804100..8f242c7 100644
--- a/lexer.l
+++ b/lexer.l
@@ -152,3 +152,4 @@ int main(int argc, char **argv)
return 0;
}
+// vim: set sw=4 ts=4 sts=4 et:
diff --git a/symbol-table.c b/symbol-table.c
index 2620346..a281e5e 100644
--- a/symbol-table.c
+++ b/symbol-table.c
@@ -82,3 +82,5 @@ void printSymTab(void) {
}
}
}
+
+// vim: set sw=4 ts=4 sts=4 et:
diff --git a/symbol-table.h b/symbol-table.h
index 3b5983e..e234a43 100644
--- a/symbol-table.h
+++ b/symbol-table.h
@@ -10,3 +10,5 @@ typedef struct symtab symtab;
symtab* lookup(char *name);
void insertID(char *name);
void printSymTab(void);
+
+// vim: set sw=4 ts=4 sts=4 et: