Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Column (0.16 sec)

  1. src/cmd/cgo/gcc.go

    			end := fset.Position(old.End())
    			// Subtract 1 from the column if we are going to
    			// append a close parenthesis. That will set the
    			// correct column for the following characters.
    			sub := 0
    			if r.Name.Kind != "type" {
    				sub = 1
    			}
    			if end.Column > sub {
    				repl = fmt.Sprintf("%s /*line :%d:%d*/", repl, end.Line, end.Column-sub)
    			}
    			if r.Name.Kind != "type" {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/lex/input.go

    	}
    	var args []string
    	// The C preprocessor treats
    	//	#define A(x)
    	// and
    	//	#define A (x)
    	// distinctly: the first is a macro with arguments, the second without.
    	// Distinguish these cases using the column number, since we don't
    	// see the space itself. Note that text/scanner reports the position at the
    	// end of the token. It's where you are now, and you just read this token.
    	if tok == '(' && in.Stack.Col() == prevCol+1 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/lex/lex.go

    	// Base reports the position base of the token.
    	Base() *src.PosBase
    	// SetBase sets the position base.
    	SetBase(*src.PosBase)
    	// Line reports the source line number of the token.
    	Line() int
    	// Col reports the source column number of the token.
    	Col() int
    	// Close does any teardown required.
    	Close()
    }
    
    // A Token is a scan token plus its string value.
    // A macro is stored as a sequence of Tokens with spaces stripped.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 4.1K bytes
    - Viewed (0)
Back to top