2 Commits

Author SHA1 Message Date
AlbinZhang
77bbf7f907 fix compilation error with MSVC2013 (#15)
MSVC2013 support C99 incompletely, which causes build errors for C codes in peg-highlight module.

1. Move variable declarations at the front of code block;
2. Add compilation flag `Q_COMPILER_INITIALIZER_LISTS`;
2017-06-02 08:58:09 +08:00
Le Tan
fe4a2cdcc8 move peg-markdown-highlight as a lib to avoid warnings
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-11 23:09:42 +08:00