summaryrefslogtreecommitdiff
path: root/parse/tok.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-01-26 11:06:05 -0800
committerOri Bernstein <ori@eigenstate.org>2016-01-26 11:06:05 -0800
commitfe0bcf756016bd8cad54c1af77f054b94fc8d11b (patch)
tree550cd7812212cbcbabba3cef5980cbdc73662e1f /parse/tok.c
parent74b3aaed1a5a978a4d64ae4bdce9b0cdcf82860c (diff)
downloadmc-fe0bcf756016bd8cad54c1af77f054b94fc8d11b.tar.gz
Remove the '$' shorthand for end of array.
Diffstat (limited to 'parse/tok.c')
-rw-r--r--parse/tok.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/parse/tok.c b/parse/tok.c
index cd3346d..17fef0f 100644
--- a/parse/tok.c
+++ b/parse/tok.c
@@ -77,7 +77,9 @@ static Tok *mktok(int tt)
return t;
}
-static int identchar(int c) { return isalnum(c) || c == '_' || c == '$'; }
+static int identchar(int c) {
+ return isalnum(c) || c == '_' || c == '$';
+}
static void eatcomment(void)
{
@@ -160,7 +162,6 @@ static int kwd(char *s)
char *kw;
int tt;
} kwmap[] = {
- {"$", Tidxlen},
{"$noret", Tattr},
{"_", Tgap},
{"break", Tbreak},