vlib: minor tweaks for various module imports, needed for vdoc
							parent
							
								
									8d3f680d07
								
							
						
					
					
						commit
						e534f8507b
					
				|  | @ -1,12 +1,12 @@ | |||
| // Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved.
 | ||||
| // Use of this source code is governed by an MIT license
 | ||||
| // that can be found in the LICENSE file.
 | ||||
| 
 | ||||
| module glfw | ||||
| 
 | ||||
| import gl | ||||
| 
 | ||||
| // note: we might need special case for this
 | ||||
| // see TmpGlImportHack below (joe-c)
 | ||||
| import gl | ||||
| 
 | ||||
| #flag -I @VROOT/thirdparty/glfw | ||||
| #flag -L @VROOT/thirdparty/glfw | ||||
|  |  | |||
|  | @ -18,9 +18,11 @@ | |||
| * | ||||
| **********************************************************************/ | ||||
| module ftoa | ||||
| //import math
 | ||||
| 
 | ||||
| import math.bits | ||||
| 
 | ||||
| //import math
 | ||||
| 
 | ||||
| /****************************************************************************** | ||||
| * | ||||
| * General Utilities | ||||
|  |  | |||
|  | @ -3,10 +3,11 @@ | |||
| // that can be found in the LICENSE file.
 | ||||
| module ast | ||||
| 
 | ||||
| // These methods are used only by vfmt, vdoc, and for debugging.
 | ||||
| import v.table | ||||
| import strings | ||||
| 
 | ||||
| // These methods are used only by vfmt, vdoc, and for debugging.
 | ||||
| 
 | ||||
| pub fn (node &FnDecl) str(t &table.Table) string { | ||||
| 	mut f := strings.new_builder(30) | ||||
| 	if node.is_pub { | ||||
|  |  | |||
|  | @ -1,8 +1,8 @@ | |||
| module parser | ||||
| 
 | ||||
| // Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved.
 | ||||
| // Use of this source code is governed by an MIT license
 | ||||
| // that can be found in the LICENSE file.
 | ||||
| module parser | ||||
| 
 | ||||
| import v.table | ||||
| 
 | ||||
| pub fn (mut p Parser) parse_array_type() table.Type { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue