Lines and columns are usually counted from 1, even by code editors (Vim, Nano, 
Kate to name a few). So i assume that's the reason.
 - Fcalva

Le 11 septembre 2025 07:30:00 GMT+02:00, Simon Richter 
<[email protected]> a écrit :
>Hi,
>
>looking at the yy_location_print_ function, I see
>
>    if (0 <= yylocp->first_line)
>
>and likewise for the other fields. Is that only a sign check to avoid 
>generating a minus sign in the output, or should that have been a less-than?
>
>   Simon
>

Reply via email to