mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
Merge pull request #1926 from gnustomp/master
c#ParseCFlags: don't index empty list
This commit is contained in:
@@ -74,7 +74,7 @@ Execute(ParseCFlags should ignore -T and other arguments):
|
||||
\ . ' -DTEST=`date +%s`',
|
||||
\ ale#c#ParseCFlags(
|
||||
\ ale#path#Simplify(g:dir. '/test_c_projects/makefile_project'),
|
||||
\ 'gcc -Dgoal=9 -Tlinkerfile.ld blabla -Isubdir '
|
||||
\ 'gcc -Dgoal=9 -Tlinkerfile.ld blabla -Isubdir --sysroot=subdir '
|
||||
\ . '-I'. ale#path#Simplify('kernel/include')
|
||||
\ . ' -DTEST=`date +%s` -c file.c'
|
||||
\ )
|
||||
|
||||
Reference in New Issue
Block a user