Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for numCR (0.02 sec)

  1. src/go/scanner/scanner.go

    	next := -1           // position immediately following the comment; < 0 means invalid comment
    	numCR := 0
    	nlOffset := 0 // offset of first newline within /*...*/ comment
    
    	if s.ch == '/' {
    		//-style comment
    		// (the final '\n' is not considered part of the comment)
    		s.next()
    		for s.ch != '\n' && s.ch >= 0 {
    			if s.ch == '\r' {
    				numCR++
    			}
    			s.next()
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 24.3K bytes
    - Viewed (0)
Back to top