summaryrefslogtreecommitdiff
path: root/test/test_c_flag_parsing.vader
diff options
context:
space:
mode:
authorFrançois-Xavier Carton <fx.carton91@gmail.com>2018-12-29 01:11:35 +0100
committerFrançois-Xavier Carton <fx.carton91@gmail.com>2018-12-29 12:16:22 +0100
commitf7c4c403ebb2460e056bdb80463d75a32174bafa (patch)
treee37e2f3d0343fa950a154cd2920b1c7e7f2b5e1b /test/test_c_flag_parsing.vader
parent73ca1e71918a0b50b7bbcbed91857c3618ad93cc (diff)
downloadale-f7c4c403ebb2460e056bdb80463d75a32174bafa.zip
Fix CFLAGS parsing
Split by space instead of dash. This prevents incorrect parsing where space-separated arguments are merged (in particular, .c or .o files were appended to -I or -D arguments). Handle shell escape: quotes and escaped quotes \" and shell substitutions are recognised. This is done by verifying that no special character (" ' ` ()) has not a matching character. Fixes #2049
Diffstat (limited to 'test/test_c_flag_parsing.vader')
0 files changed, 0 insertions, 0 deletions