X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/1fa5d8bbf92cc7ab3f7294b8f4f4465b04d4444a..247efe346c062d14fca43e2e16749cb4415d6afd:/data/c.m4 diff --git a/data/c.m4 b/data/c.m4 index 66d4f6d2..430a5573 100644 --- a/data/c.m4 +++ b/data/c.m4 @@ -23,9 +23,12 @@ # b4_comment(TEXT) # ---------------- +# Put TEXT in comment. Avoid trailing spaces: don't indent empty lines. +# Avoid adding indentation to the first line, as the indentation comes +# from "/*". That's why we don't patsubst([$1], [^\(.\)], [ \1]). m4_define([b4_comment], [/* m4_bpatsubst([$1], [ -], [ - ]) */]) +\(.\)], [ + \1]) */]) # b4_identification # ----------------- @@ -367,6 +370,7 @@ m4_define([b4_sync_start], [[#]line $1 $2]) m4_define([b4_case], [ case $1: $2 +b4_syncline([@oline@], [@ofile@]) break;]) # b4_symbol_actions(FILENAME, LINENO,