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

cgen: fix const_embed_test.v error

This commit is contained in:
yuyi
2020-04-17 01:43:39 +08:00
committed by GitHub
parent 4c8510dfaf
commit dee64347e0
2 changed files with 3 additions and 1 deletions

View File

@@ -1853,6 +1853,9 @@ fn (var g Gen) const_decl(node ast.ConstDecl) {
ast.CharLiteral {
g.const_decl_simple_define(name, val)
}
ast.FloatLiteral {
g.const_decl_simple_define(name, val)
}
ast.IntegerLiteral {
g.const_decl_simple_define(name, val)
}