summaryrefslogtreecommitdiff
path: root/parse/tok.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-12-04 19:31:37 -0800
committerOri Bernstein <ori@eigenstate.org>2015-12-04 19:31:37 -0800
commite324d18f20b803549ce12df649e166fe27d26125 (patch)
tree3acc574e0e7427e104e572b106cdd6e7bd78e900 /parse/tok.c
parentf7f6e6aaaba6cda088689d4d1699cb15df5db410 (diff)
downloadmc-e324d18f20b803549ce12df649e166fe27d26125.tar.gz
Fix code formatting.
Diffstat (limited to 'parse/tok.c')
-rw-r--r--parse/tok.c36
1 files changed, 29 insertions, 7 deletions
diff --git a/parse/tok.c b/parse/tok.c
index 6facbf0..068af8e 100644
--- a/parse/tok.c
+++ b/parse/tok.c
@@ -163,13 +163,35 @@ static int kwd(char *s)
char *kw;
int tt;
} kwmap[] = {
- {"$", Tidxlen}, {"$noret", Tattr}, {"_", Tgap}, {"break", Tbreak}, {"castto", Tcast},
- {"const", Tconst}, {"continue", Tcontinue}, {"elif", Telif}, {"else", Telse},
- {"export", Texport}, {"extern", Tattr}, {"false", Tboollit}, {"for", Tfor},
- {"generic", Tgeneric}, {"goto", Tgoto}, {"if", Tif}, {"impl", Timpl}, {"in", Tin},
- {"match", Tmatch}, {"pkg", Tpkg}, {"pkglocal", Tattr}, {"protect", Tprotect},
- {"sizeof", Tsizeof}, {"struct", Tstruct}, {"trait", Ttrait}, {"true", Tboollit},
- {"type", Ttype}, {"union", Tunion}, {"use", Tuse}, {"var", Tvar}, {"while", Twhile},
+ {"$", Tidxlen},
+ {"$noret", Tattr},
+ {"_", Tgap},
+ {"break", Tbreak},
+ {"castto", Tcast},
+ {"const", Tconst},
+ {"continue", Tcontinue},
+ {"elif", Telif},
+ {"else", Telse},
+ {"extern", Tattr},
+ {"false", Tboollit},
+ {"for", Tfor},
+ {"generic", Tgeneric},
+ {"goto", Tgoto},
+ {"if", Tif},
+ {"impl", Timpl},
+ {"in", Tin},
+ {"match", Tmatch},
+ {"pkg", Tpkg},
+ {"pkglocal", Tattr},
+ {"sizeof", Tsizeof},
+ {"struct", Tstruct},
+ {"trait", Ttrait},
+ {"true", Tboollit},
+ {"type", Ttype},
+ {"union", Tunion},
+ {"use", Tuse},
+ {"var", Tvar},
+ {"while", Twhile},
};
size_t min, max, mid;