summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/glcpp-parse.y
diff options
context:
space:
mode:
authorCarl Worth <[email protected]>2014-06-20 19:17:28 -0700
committerCarl Worth <[email protected]>2014-07-29 15:11:49 -0700
commit8e8f8ff1b25a4cfd332d9e7c86d3d56cdff98d6a (patch)
tree526c4d0343aadc30dfd9d283b8caabff9c34422d /src/glsl/glcpp/glcpp-parse.y
parent0742e0acd302d90dd7f326cf641da61ac60a8508 (diff)
glsl/glcpp: Fix off-by-one error in column in first-line error messages
For the first line we were initializing the column to 1, but for all subsequent lines we were initializing the column to 0. The column number is advanced for each token read before any error message is printed. So the 0 value is the correct initialization, (so that the first column is reported as column 1). With this extremely minor change, many of the .expected files are updated such that error messages for the first line now have the correct column number in them. Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/glsl/glcpp/glcpp-parse.y')
0 files changed, 0 insertions, 0 deletions