From: Nick Downing Date: Thu, 21 Dec 2023 07:51:00 +0000 (+1100) Subject: Fix location for one error message X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=d656c08aa099975c5623712b7d8e3cfe4874b1a4;p=piyacc.git Fix location for one error message --- diff --git a/ndcode/piyacc/scan-gram.l b/ndcode/piyacc/scan-gram.l index ee7d75c..591b24c 100644 --- a/ndcode/piyacc/scan-gram.l +++ b/ndcode/piyacc/scan-gram.l @@ -95,7 +95,7 @@ eqopt ([[:space:]]*=)? { /* Comments and white space. */ - "," state.complain(state.loc, state.Wother, 'stray \',\' treated as white space') + "," state.complain(y_tab.yylloc, state.Wother, 'stray \',\' treated as white space') [ \f\n\t\v] | "//".* #continue "/*" {