From 999e5907ade9596c6c7184badea41946fa307aed Mon Sep 17 00:00:00 2001 From: xolatile Date: Fri, 23 Feb 2024 13:57:38 -0500 Subject: [PATCH] Added shell and CubeScript... --- xtandard.c | 2 +- xtandard.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xtandard.c b/xtandard.c index 6811d76..15deb1d 100644 --- a/xtandard.c +++ b/xtandard.c @@ -237,7 +237,7 @@ int file_size (char * name) { int file_type (char * name) { char * extensions [file_type_count] = { ".txt", ".asm", ".fasm", ".gasm", ".nasm", ".yasm", ".c", ".h", ".adb", ".ads", ".cpp", ".hpp", - ".f90", ".x" + ".f90", ".sh", ".cfg", ".x" }; int type = 0; diff --git a/xtandard.h b/xtandard.h index fc6eb31..a1b8e95 100644 --- a/xtandard.h +++ b/xtandard.h @@ -30,7 +30,7 @@ enum { 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_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 };