Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for pendingLabels (0.37 sec)

  1. src/cmd/asm/internal/asm/asm.go

    	} else {
    		p.lastProg.Link = prog
    	}
    	p.lastProg = prog
    	if doLabel {
    		p.pc++
    		for _, label := range p.pendingLabels {
    			if p.labels[label] != nil {
    				p.errorf("label %q multiply defined", label)
    				return
    			}
    			p.labels[label] = prog
    		}
    		p.pendingLabels = p.pendingLabels[0:0]
    	}
    	prog.Pc = p.pc
    	if *flags.Debug {
    		fmt.Println(p.lineNum, prog)
    	}
    	if testOut != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/parse.go

    						p.errorf("instruction suffix expected identifier, found %s", str)
    					}
    					cond = cond + "." + str
    					continue
    				}
    				if tok == ':' {
    					// Labels.
    					p.pendingLabels = append(p.pendingLabels, word)
    					goto next
    				}
    			}
    			if tok == scanner.EOF {
    				p.errorf("unexpected EOF")
    				return "", "", nil, false
    			}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
Back to top