From 7cf897e7aeff61444c911997056024180d98b53b Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Thu, 30 May 2002 21:30:33 +0000 Subject: [PATCH] Correctly recognize $$ as TOKEN_BASE --- preproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preproc.c b/preproc.c index 34d14f36..267885da 100644 --- a/preproc.c +++ b/preproc.c @@ -1096,7 +1096,7 @@ ppscan(void *private_data, struct tokenval *tokval) if (tline->text[0] == '$' && !tline->text[1]) return tokval->t_type = TOKEN_HERE; - if (tline->text[0] == '$' && tline->text[1] == '$' && !tline->text[1]) + if (tline->text[0] == '$' && tline->text[1] == '$' && !tline->text[2]) return tokval->t_type = TOKEN_BASE; if (tline->type == TOK_ID) -- 2.11.4.GIT