1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

V.js: remove a text block resulting in syntax errors

This commit is contained in:
Arthur Kennedy Otieno 2019-10-22 08:02:31 +03:00 committed by Alexander Medvednikov
parent 03cd34fb54
commit fb89c12d90

View File

@ -253,7 +253,7 @@ pub fn (v mut V) compile() {
cgen.genln('#define DEBUG_ALLOC 1') cgen.genln('#define DEBUG_ALLOC 1')
} }
//cgen.genln('/*================================== FNS =================================*/') //cgen.genln('/*================================== FNS =================================*/')
cgen.genln('this line will be replaced with definitions') cgen.genln('// this line will be replaced with definitions')
mut defs_pos := cgen.lines.len - 1 mut defs_pos := cgen.lines.len - 1
if defs_pos == -1 { if defs_pos == -1 {
defs_pos = 0 defs_pos = 0