X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/6d5aa694aacbae8e330a195327cf3763b01da202..0433ba88f97e23a896ffba2e4b33bac1d09ff345:/src/scan-gram.l diff --git a/src/scan-gram.l b/src/scan-gram.l index 5f7ac60e..424ae2e9 100644 --- a/src/scan-gram.l +++ b/src/scan-gram.l @@ -138,8 +138,9 @@ splice (\\[ \f\t\v]*\n)* /* Location of most recent identifier, when applicable. */ location id_loc IF_LINT (= *loc); - /* Where containing code started, when applicable. */ - boundary code_start IF_LINT (= loc->start); + /* Where containing code started, when applicable. + Once the second %% seen, we are looking for the epilogue. */ + boundary code_start = loc->end; /* Where containing comment or string or character literal started, when applicable. */