An error occurred fetching the project authors.
  1. 09 Mar, 2017 1 commit
    • Robert Griesemer's avatar
      cmd/compile/internal/syntax: start line offset (column) numbers at 1 · 1f9f0ea3
      Robert Griesemer authored
      We could leave it alone and fix line offset (column) numbers when
      reporting errors, but that is likely to cause confusion (internal
      numbers don't match reported numbers). Instead, switch to default
      numbering starting at 1.
      
      For package syntax-internal use only, introduced constants defining
      the line and column bases, and use them throughout the code and its
      tests. It is possible to change these constants and package syntax
      will continue to work. But changing them is going to break any client
      that makes explicit assumptions about line and column numbers (which
      is "all of them").
      
      Change-Id: Ia3d136a8ec8d9372ed9c05ca47d3dff222cf030e
      Reviewed-on: https://go-review.googlesource.com/37996Reviewed-by: default avatarMatthew Dempsky <mdempsky@google.com>
      1f9f0ea3
  2. 09 Dec, 2016 4 commits
  3. 09 Nov, 2016 1 commit
  4. 18 Aug, 2016 1 commit