From: Akim Demaille Date: Thu, 4 Apr 2013 15:21:55 +0000 (+0200) Subject: grammar: do not add a \n at the end of blocks of code X-Git-Tag: v2.7.90~52 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/57597927ef1b9cc751df4314764a6edd575ffc8b?hp=57597927ef1b9cc751df4314764a6edd575ffc8b grammar: do not add a \n at the end of blocks of code Now that we use "braceless" (which is {...} blocks of code with initial and final braces stripped) to denote "short" values (such as api.namespaces), the added end-of-line is a nuisance. As a matter of fact, this extra-safety was useless, as every expansion of "braceless" (aka, "user code") is followed by an end of line. * src/parse-gram.y, src/parse-gram.c (braceless): Instead of replacing the final brace by \n, just delete the brace. ---