X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/5d3a1ecbbe1d0a97d12c1699c720c3ce7c079a3a..22cc8d813ee57c9631e527a31010ab138f9b7e06:/src/location.h diff --git a/src/location.h b/src/location.h index efd256dd..d8c4c8a8 100644 --- a/src/location.h +++ b/src/location.h @@ -1,5 +1,5 @@ /* Locations for Bison - Copyright (C) 2002, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + Copyright (C) 2002, 2004-2010 Free Software Foundation, Inc. This file is part of Bison, the GNU Compiler Compiler. @@ -27,8 +27,11 @@ typedef struct /* The name of the file that contains the boundary. */ uniqstr file; - /* The (origin-1) line that contains the boundary. - If this is INT_MAX, the line number has overflowed. */ + /* If nonnegative, the (origin-1) line that contains the boundary. + If this is INT_MAX, the line number has overflowed. + + Meaningless and not displayed if negative. + */ int line; /* If nonnegative, the (origin-1) column just after the boundary.