Added shell and CubeScript...
This commit is contained in:
parent
3f5d3ac77f
commit
999e5907ad
@ -237,7 +237,7 @@ int file_size (char * name) {
|
|||||||
int file_type (char * name) {
|
int file_type (char * name) {
|
||||||
char * extensions [file_type_count] = {
|
char * extensions [file_type_count] = {
|
||||||
".txt", ".asm", ".fasm", ".gasm", ".nasm", ".yasm", ".c", ".h", ".adb", ".ads", ".cpp", ".hpp",
|
".txt", ".asm", ".fasm", ".gasm", ".nasm", ".yasm", ".c", ".h", ".adb", ".ads", ".cpp", ".hpp",
|
||||||
".f90", ".x"
|
".f90", ".sh", ".cfg", ".x"
|
||||||
};
|
};
|
||||||
|
|
||||||
int type = 0;
|
int type = 0;
|
||||||
|
@ -30,7 +30,7 @@ enum {
|
|||||||
file_type_text, file_type_common_assembly, file_type_flat_assembly, file_type_gnu_assembly,
|
file_type_text, file_type_common_assembly, file_type_flat_assembly, file_type_gnu_assembly,
|
||||||
file_type_netwide_assembly, file_type_yet_another_assembly, file_type_c_source, file_type_c_header,
|
file_type_netwide_assembly, file_type_yet_another_assembly, file_type_c_source, file_type_c_header,
|
||||||
file_type_ada_body, file_type_ada_specification, file_type_cpp_source, file_type_cpp_header,
|
file_type_ada_body, file_type_ada_specification, file_type_cpp_source, file_type_cpp_header,
|
||||||
file_type_fortran_90, file_type_xolatile_script,
|
file_type_fortran_90, file_type_shell, file_type_cube_script, file_type_xolatile_script,
|
||||||
file_type_count
|
file_type_count
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user