From 153c6dec5130531c908f623f585cf1aa32172cee Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Tue, 11 Sep 2012 22:49:07 -0700 Subject: [PATCH] Revert a minor style change that broke ';function'. --- Cycript.l.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cycript.l.in b/Cycript.l.in index 17f0013..5472417 100644 --- a/Cycript.l.in +++ b/Cycript.l.in @@ -30,12 +30,14 @@ typedef cy::parser::token tk; #define YY_EXTRA_TYPE CYDriver * +// do /not/ fold token to the return: this is a macro and the ordering is dependent #define F(value, highlight) do { \ + int token(value); \ yyextra->no_.AtImplementation = false; \ yyextra->no_.Function = false; \ yyextra->no_.OpenBrace = false; \ yylval->highlight_ = highlight; \ - return value; \ + return token; \ } while (false) #define A new($pool) -- 2.49.0