File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 269269 "#guard" : {
270270 "prefix" : " #guard" ,
271271 "body" : [
272- " #ifndef INCLUDE${TM_DIRECTORY/.*[\\\/ ](.*)/_${1:/upcase}/}${TM_FILENAME_BASE/(.*)/_${1:/upcase}/}${TM_FILENAME/.*\\ .(.*)/_${1:/upcase}/}_" ,
273- " #define INCLUDE${TM_DIRECTORY/.*[\\\/ ](.*)/_${1:/upcase}/}${TM_FILENAME_BASE/(.*)/_${1:/upcase}/}${TM_FILENAME/.*\\ .(.*)/_${1:/upcase}/}_" ,
272+ " #ifndef INCLUDE${TM_DIRECTORY/.*[\\ / \\\\ ](.*)/_${1:/upcase}/}${TM_FILENAME_BASE/(.*)/_${1:/upcase}/}${TM_FILENAME/.*\\ .(.*)/_${1:/upcase}/}_" ,
273+ " #define INCLUDE${TM_DIRECTORY/.*[\\ / \\\\ ](.*)/_${1:/upcase}/}${TM_FILENAME_BASE/(.*)/_${1:/upcase}/}${TM_FILENAME/.*\\ .(.*)/_${1:/upcase}/}_" ,
274274 " " ,
275275 " $0" ,
276276 " " ,
277- " #endif // INCLUDE${TM_DIRECTORY/.*[\\\/ ](.*)/_${1:/upcase}/}${TM_FILENAME_BASE/(.*)/_${1:/upcase}/}${TM_FILENAME/.*\\ .(.*)/_${1:/upcase}/}_"
277+ " #endif // INCLUDE${TM_DIRECTORY/.*[\\ / \\\\ ](.*)/_${1:/upcase}/}${TM_FILENAME_BASE/(.*)/_${1:/upcase}/}${TM_FILENAME/.*\\ .(.*)/_${1:/upcase}/}_"
278278 ],
279279 "description" : " header guard. format :\n\t INCLUDE_<dirname>_<filename>_<extension>_"
280280 },
You can’t perform that action at this time.
0 commit comments