Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 104 for Semicolons (0.21 sec)

  1. src/go/types/commentMap_test.go

    			}
    		case token.SEMICOLON:
    			// ignore automatically inserted semicolon
    			if lit == "\n" {
    				continue
    			}
    			fallthrough
    		default:
    			prev = pos
    		}
    	}
    }
    
    func TestCommentMap(t *testing.T) {
    	const src = `/* ERROR "0:0" */ /* ERROR "0:0" */ // ERROR "0:0"
    // ERROR "0:0"
    x /* ERROR "3:1" */                // ignore automatically inserted semicolon here
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/testdata/issue49205.go

    package p
    
    // test case from issue
    
    type _ interface{
    	m /* ERROR unexpected name int in interface type; possibly missing semicolon or newline or } */ int
    }
    
    // other cases where the fix for this issue affects the error message
    
    const (
    	x int = 10 /* ERROR unexpected literal "foo" in grouped declaration; possibly missing semicolon or newline or \) */ "foo"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 952 bytes
    - Viewed (0)
  3. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpResponseResource.java

                if (beginIndex > 0) {
                    int endIndex = disposition.indexOf(';', beginIndex + 11); // find the next semicolon
                    endIndex = endIndex < 0 ? disposition.length() : endIndex; // if no semicolon is found, then there is nothing else in the disposition
                    endIndex -= 1; // ignore the closing quotes
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/testing_test.go

    	const src = `/* ERROR "0:0" */ /* ERROR "0:0" */ // ERROR "0:0"
    // ERROR "0:0"
    x /* ERROR "3:1" */                // ignore automatically inserted semicolon here
    /* ERROR "3:1" */                  // position of x on previous line
       x /* ERROR "5:4" */ ;           // do not ignore this semicolon
    /* ERROR "5:24" */                 // position of ; on previous line
    	package /* ERROR "7:2" */  // indented with tab
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:53:18 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. src/go/printer/testdata/comments.input

    	}
    
    	for
    		i=0;// comment after semicolon
    		i<9;/* comment after semicolon */
    		i++{// comment after opening curly brace
    	}
    
    	// TODO(gri) the last comment in this example should be aligned */
    	for
    		i=0;// comment after semicolon
    		i<9/* comment before semicolon - ok to move after semicolon */;
    		i++ /* comment before opening curly brace */ {
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 25 23:11:14 UTC 2022
    - 11.3K bytes
    - Viewed (0)
  6. src/go/parser/parser.go

    		s = p.parseForStmt()
    	case token.SEMICOLON:
    		// Is it ever possible to have an implicit semicolon
    		// producing an empty statement in a valid program?
    		// (handle correctly anyway)
    		s = &ast.EmptyStmt{Semicolon: p.pos, Implicit: p.lit == "\n"}
    		p.next()
    	case token.RBRACE:
    		// a semicolon may be omitted before a closing "}"
    		s = &ast.EmptyStmt{Semicolon: p.pos, Implicit: true}
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  7. src/go/parser/resolver_test.go

    					}
    					decls[name] = prev
    				}
    				if use {
    					uses[name] = append(uses[name], prev)
    				}
    			}
    		case token.SEMICOLON:
    			// ignore automatically inserted semicolon
    			if lit == "\n" {
    				continue scanFile
    			}
    			fallthrough
    		default:
    			prev = pos
    		}
    	}
    	return decls, uses
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 19 17:46:07 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  8. test/syntax/semi5.go

    // Copyright 2010 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    func main()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 262 bytes
    - Viewed (0)
  9. dbflute_fess/playsql/_readme.txt

    Directory for ReplaceSchema task
    
    replace-schema-*.sql:
    DDL statements for creation of your schema.
    You should write your own DDL statements in this file.
    (A SQL separator is semicolon ";")
    
    take-finally-*.sql:
    SQL statements for check loaded data (or DDL after data loading)
    You should write your own SQL statements in this file.
    (basically same specifications as replace-schema.sql)
    
    The "data" directory is for data loading like this:
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sat Jul 04 22:46:31 UTC 2015
    - 1.3K bytes
    - Viewed (0)
  10. src/go/printer/testdata/comments.golden

    	}
    
    	for i = 0;	// comment after semicolon
    	i < 9;		/* comment after semicolon */
    	i++ {		// comment after opening curly brace
    	}
    
    	// TODO(gri) the last comment in this example should be aligned */
    	for i = 0;	// comment after semicolon
    	i < 9;		/* comment before semicolon - ok to move after semicolon */
    	i++ /* comment before opening curly brace */ {
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 25 23:11:14 UTC 2022
    - 11.3K bytes
    - Viewed (0)
Back to top