Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ifdefStack (0.08 sec)

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

    		truth = !truth
    	}
    	in.ifdefStack = append(in.ifdefStack, truth)
    }
    
    // #else processing
    func (in *Input) else_() {
    	in.expectNewline("#else")
    	if len(in.ifdefStack) == 0 {
    		in.Error("unmatched #else")
    	}
    	if len(in.ifdefStack) == 1 || in.ifdefStack[len(in.ifdefStack)-2] {
    		in.ifdefStack[len(in.ifdefStack)-1] = !in.ifdefStack[len(in.ifdefStack)-1]
    	}
    }
    
    // #endif processing.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 06 13:17:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top