ci: fix `v build-tools`
							parent
							
								
									263e1ee4a4
								
							
						
					
					
						commit
						6f2c18f1c7
					
				| 
						 | 
					@ -125,7 +125,7 @@ fn main() {
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	// webhook server mode
 | 
						// webhook server mode
 | 
				
			||||||
	if flag_options.serve {
 | 
						if flag_options.serve {
 | 
				
			||||||
		vweb.run<WebhookServer>(flag_options.port)
 | 
							vweb.run<WebhookServer>(&WebhookServer{}, flag_options.port)
 | 
				
			||||||
	} else {
 | 
						} else {
 | 
				
			||||||
		// cmd mode
 | 
							// cmd mode
 | 
				
			||||||
		mut gen_vc := new_gen_vc(flag_options)
 | 
							mut gen_vc := new_gen_vc(flag_options)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -28,7 +28,7 @@ pub mut:
 | 
				
			||||||
	panic_handler    FnPanicHandler = default_table_panic_handler
 | 
						panic_handler    FnPanicHandler = default_table_panic_handler
 | 
				
			||||||
	panic_userdata   voidptr        = voidptr(0) // can be used to pass arbitrary data to panic_handler;
 | 
						panic_userdata   voidptr        = voidptr(0) // can be used to pass arbitrary data to panic_handler;
 | 
				
			||||||
	panic_npanics    int
 | 
						panic_npanics    int
 | 
				
			||||||
	cur_fn           &FnDecl // previously stored in Checker.cur_fn and Gen.cur_fn
 | 
						cur_fn           &FnDecl = 0 // previously stored in Checker.cur_fn and Gen.cur_fn
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[unsafe]
 | 
					[unsafe]
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -94,7 +94,6 @@ pub mut:
 | 
				
			||||||
	table     &ast.Table      = &ast.Table{}
 | 
						table     &ast.Table      = &ast.Table{}
 | 
				
			||||||
	checker   checker.Checker = checker.Checker{
 | 
						checker   checker.Checker = checker.Checker{
 | 
				
			||||||
		table: 0
 | 
							table: 0
 | 
				
			||||||
		cur_fn: 0
 | 
					 | 
				
			||||||
		pref: 0
 | 
							pref: 0
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	fmt                 fmt.Fmt
 | 
						fmt                 fmt.Fmt
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue