pull/726/head
Alexander Medvednikov 2019-06-27 23:20:30 +02:00
parent dc161fb20f
commit 02131d1ae5
1 changed files with 2 additions and 1 deletions

View File

@ -142,7 +142,8 @@ fn (p mut Parser) parse() {
} }
p.fgenln('\n') p.fgenln('\n')
p.builtin_pkg = p.pkg == 'builtin' p.builtin_pkg = p.pkg == 'builtin'
p.can_chash = p.pkg == 'gg' || p.pkg == 'glm' || p.pkg == 'gl' || p.pkg == 'glfw' // TODO tmp remove p.can_chash = p.pkg == 'gg' || p.pkg == 'glm' || p.pkg == 'gl' ||
p.pkg == 'http' || p.pkg == 'glfw' // TODO tmp remove
// Import pass - the first and the smallest pass that only analyzes imports // Import pass - the first and the smallest pass that only analyzes imports
p.table.register_package(p.pkg) p.table.register_package(p.pkg)
if p.run == RUN_IMPORTS { if p.run == RUN_IMPORTS {