diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-08-30 15:33:20 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-08-30 15:33:20 +0200 |
commit | ab27d628b1e1500a22597acad013c4b50e5474a9 (patch) | |
tree | 81b84eb7a3a42b97cc2b4b16c197d4b322285929 /libxsde | |
parent | 796f815130d4345c13c060021835f78156ffc555 (diff) |
Use C-style comments in the C code
Diffstat (limited to 'libxsde')
-rw-r--r-- | libxsde/xsde/c/compilers/ghs/post.h | 9 | ||||
-rw-r--r-- | libxsde/xsde/c/compilers/ghs/pre.h | 18 | ||||
-rw-r--r-- | libxsde/xsde/c/genx/char-props.c | 4 | ||||
-rw-r--r-- | libxsde/xsde/c/post.h | 9 | ||||
-rw-r--r-- | libxsde/xsde/c/pre.h | 9 |
5 files changed, 27 insertions, 22 deletions
diff --git a/libxsde/xsde/c/compilers/ghs/post.h b/libxsde/xsde/c/compilers/ghs/post.h index 7a16f02..5c86e88 100644 --- a/libxsde/xsde/c/compilers/ghs/post.h +++ b/libxsde/xsde/c/compilers/ghs/post.h @@ -1,7 +1,8 @@ -// file : xsde/c/compilers/ghs/post.h -// author : Boris Kolpackov <boris@codesynthesis.com> -// copyright : Copyright (c) 2005-2010 Code Synthesis Tools CC -// license : GNU GPL v2 + exceptions; see accompanying LICENSE file +/* file : xsde/c/compilers/ghs/post.h + * author : Boris Kolpackov <boris@codesynthesis.com> + * copyright : Copyright (c) 2005-2010 Code Synthesis Tools CC + * license : GNU GPL v2 + exceptions; see accompanying LICENSE file + */ #ifdef __EDG__ # pragma ghs endnowarning diff --git a/libxsde/xsde/c/compilers/ghs/pre.h b/libxsde/xsde/c/compilers/ghs/pre.h index 076ab8a..2e37506 100644 --- a/libxsde/xsde/c/compilers/ghs/pre.h +++ b/libxsde/xsde/c/compilers/ghs/pre.h @@ -1,12 +1,14 @@ -// file : xsde/c/compilers/ghs/pre.h -// author : Boris Kolpackov <boris@codesynthesis.com> -// copyright : Copyright (c) 2005-2010 Code Synthesis Tools CC -// license : GNU GPL v2 + exceptions; see accompanying LICENSE file +/* file : xsde/c/compilers/ghs/pre.h + * author : Boris Kolpackov <boris@codesynthesis.com> + * copyright : Copyright (c) 2005-2010 Code Synthesis Tools CC + * license : GNU GPL v2 + exceptions; see accompanying LICENSE file + */ -// Warning pragmas are only available in the new generation compiler. -// -// 111 - statement is unreachable -// +/* + * Warning pragmas are only available in the new generation compiler. + */ + +/* 111 - statement is unreachable */ #ifdef __EDG__ # pragma ghs nowarning 111 #endif diff --git a/libxsde/xsde/c/genx/char-props.c b/libxsde/xsde/c/genx/char-props.c index 34865ca..a7af5a3 100644 --- a/libxsde/xsde/c/genx/char-props.c +++ b/libxsde/xsde/c/genx/char-props.c @@ -255,7 +255,7 @@ void genxSetCharProps(char * p) charProp(p, 0x3007, GENX_LETTER|GENX_NAMECHAR); rangeProp(p, 0x3021, 0x3029, GENX_LETTER|GENX_NAMECHAR); -#endif // GENX_CHAR_TABLE_SIZE == 0x10000 +#endif /* GENX_CHAR_TABLE_SIZE == 0x10000 */ /* * NameChar ::= @@ -392,7 +392,7 @@ void genxSetCharProps(char * p) rangeProp(p, 0x309D, 0x309E, GENX_NAMECHAR); rangeProp(p, 0x30FC, 0x30FE, GENX_NAMECHAR); -#endif // GENX_CHAR_TABLE_SIZE == 0x10000 +#endif /* GENX_CHAR_TABLE_SIZE == 0x10000 */ } #include <xsde/c/post.h> diff --git a/libxsde/xsde/c/post.h b/libxsde/xsde/c/post.h index 7db2fa2..de85b9b 100644 --- a/libxsde/xsde/c/post.h +++ b/libxsde/xsde/c/post.h @@ -1,7 +1,8 @@ -// file : xsde/c/post.h -// author : Boris Kolpackov <boris@codesynthesis.com> -// copyright : Copyright (c) 2005-2010 Code Synthesis Tools CC -// license : GNU GPL v2 + exceptions; see accompanying LICENSE file +/* file : xsde/c/post.h + * author : Boris Kolpackov <boris@codesynthesis.com> + * copyright : Copyright (c) 2005-2010 Code Synthesis Tools CC + * license : GNU GPL v2 + exceptions; see accompanying LICENSE file + */ #if defined(__ghs__) || defined(__ghs) || defined(ghs) # include <xsde/c/compilers/ghs/post.h> diff --git a/libxsde/xsde/c/pre.h b/libxsde/xsde/c/pre.h index 05098d1..cadba07 100644 --- a/libxsde/xsde/c/pre.h +++ b/libxsde/xsde/c/pre.h @@ -1,7 +1,8 @@ -// file : xsde/c/pre.h -// author : Boris Kolpackov <boris@codesynthesis.com> -// copyright : Copyright (c) 2005-2010 Code Synthesis Tools CC -// license : GNU GPL v2 + exceptions; see accompanying LICENSE file +/* file : xsde/c/pre.h + * author : Boris Kolpackov <boris@codesynthesis.com> + * copyright : Copyright (c) 2005-2010 Code Synthesis Tools CC + * license : GNU GPL v2 + exceptions; see accompanying LICENSE file + */ #if defined(__ghs__) || defined(__ghs) || defined(ghs) # include <xsde/c/compilers/ghs/pre.h> |