diff options
author | Dimitri Sokolyuk <demon@dim13.org> | 2017-06-15 09:27:13 +0200 |
---|---|---|
committer | Dimitri Sokolyuk <demon@dim13.org> | 2017-06-15 09:27:13 +0200 |
commit | 65eaac67536b0dd0755dd10b32b5c1088c9976fb (patch) | |
tree | dbba741a1ae61902d5a6948f5bb4394e6466e68f /parse.go | |
parent | da312e375eb0a0758a4dd72e287d3aba86c04d99 (diff) |
Name OPs
Diffstat (limited to 'parse.go')
-rw-r--r-- | parse.go | 32 |
1 files changed, 16 insertions, 16 deletions
@@ -85,22 +85,22 @@ func expand(v uint16) int8 { } const ( - opT = iota - opN - opTplusN - opTandN - opTorN - opTxorN - opNotT - opNeqT - opNleT - opNrshiftT - opTminus1 - opR - opAtT - opNlshiftT - opDepth - opNuleT + opT = iota // 0 + opN // 1 + opTplusN // 2 + opTandN // 3 + opTorN // 4 + opTxorN // 5 + opNotT // 6 + opNeqT // 7 + opNleT // 8 + opNrshiftT // 9 + opTminus1 // 10 + opR // 11 + opAtT // 12 + opNlshiftT // 13 + opDepth // 14 + opNuleT // 15 ) var opcodes = []string{ |