From ee7a847ce0f12fb7652d9ae8a032841329060330 Mon Sep 17 00:00:00 2001 From: Pavel Kirienko Date: Mon, 10 Mar 2014 15:45:56 +0400 Subject: [PATCH] dsdlc template renamed to *.tmpl to enable proper syntax highlighting and avoid confusion with C++ headers --- .../{data_type_template.hpp => data_type_template.tmpl} | 0 libuavcan/dsdl_compiler/dsdlc.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename libuavcan/dsdl_compiler/{data_type_template.hpp => data_type_template.tmpl} (100%) diff --git a/libuavcan/dsdl_compiler/data_type_template.hpp b/libuavcan/dsdl_compiler/data_type_template.tmpl similarity index 100% rename from libuavcan/dsdl_compiler/data_type_template.hpp rename to libuavcan/dsdl_compiler/data_type_template.tmpl diff --git a/libuavcan/dsdl_compiler/dsdlc.py b/libuavcan/dsdl_compiler/dsdlc.py index fa93f1eaaa..b15e39d1a5 100755 --- a/libuavcan/dsdl_compiler/dsdlc.py +++ b/libuavcan/dsdl_compiler/dsdlc.py @@ -19,7 +19,7 @@ from pyuavcan import dsdl MAX_BITLEN_FOR_ENUM = 31 OUTPUT_FILE_EXTENSION = 'hpp' OUTPUT_FILE_PERMISSIONS = 0o444 # Read only for all -TEMPLATE_FILENAME = os.path.join(os.path.dirname(__file__), 'data_type_template.hpp') +TEMPLATE_FILENAME = os.path.join(os.path.dirname(__file__), 'data_type_template.tmpl') # -----------------