diff options
| author | ruki <[email protected]> | 2019-01-03 23:14:21 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-01-03 13:26:08 +0800 |
| commit | a86d666ba3095bf9da443e782333b66c3aced59d (patch) | |
| tree | 331d37cfb3d1bc55e5bf434f00f5fa2789336a83 /xmake/modules/core/tools/cparser.lua | |
| parent | 7da17d16ef3bf08d1b683f95fcec1c6d48ecdee4 (diff) | |
fix some warning info
Diffstat (limited to 'xmake/modules/core/tools/cparser.lua')
| -rw-r--r-- | xmake/modules/core/tools/cparser.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/cparser.lua b/xmake/modules/core/tools/cparser.lua index ac1f6bb11..a239073d3 100644 --- a/xmake/modules/core/tools/cparser.lua +++ b/xmake/modules/core/tools/cparser.lua @@ -231,7 +231,7 @@ function _compile1(self, sourcefile, objectfile, dependinfo, flags) -- print some warnings if warnings and #warnings > 0 and (option.get("verbose") or option.get("warning")) then - cprint("${yellow}%s", table.concat(table.slice(warnings:split('\n'), 1, 8), '\n')) + cprint("${color.warning}%s", table.concat(table.slice(warnings:split('\n'), 1, 8), '\n')) end end } |
