1. 17 Feb, 2015 1 commit
    • Rob Pike's avatar
      [dev.cc] cmd/asm: fix macro definition bug in the lexer · ae2b145d
      Rob Pike authored
      Because text/scanner hides the spaces, the lexer treated
      	#define A(x)
      and
      	#define A (x)
      the same, but they are not: the first is an argument with macros, the
      second is a simple one-word macro whose definition contains parentheses.
      Fix this by noticing the relative column number as we move from A to (.
      Hacky but simple.
      
      Also add a helper to recognize the peculiar ARM shifted register operators.
      
      Change-Id: I2cad22f5f1e11d8dad40ad13955793d178afb3ae
      Reviewed-on: https://go-review.googlesource.com/4872Reviewed-by: default avatarRuss Cox <rsc@golang.org>
      ae2b145d
  2. 14 Feb, 2015 1 commit
  3. 13 Feb, 2015 29 commits
  4. 12 Feb, 2015 9 commits