[warning-fix][bad-comment-format]
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ int exppp_nesting_indent = 2; /* default nesting indent */
|
||||
int exppp_continuation_indent = 4; /* default nesting indent for */
|
||||
/* continuation lines */
|
||||
int exppp_linelength = 75; /* leave some slop for closing
|
||||
/* parens. \n is not included in */
|
||||
parens. \n is not included in */
|
||||
/* this count either */
|
||||
|
||||
int indent2; /* where continuation lines start */
|
||||
|
||||
@@ -245,7 +245,7 @@ ENTITYfind_inherited_attribute( struct Scope_ *entity, char * name,
|
||||
}
|
||||
}
|
||||
|
||||
/* resolve a (possibly group-qualified) attribute ref. *
|
||||
/* resolve a (possibly group-qualified) attribute ref. */
|
||||
/* report errors as appropriate */
|
||||
Variable
|
||||
ENTITYresolve_attr_ref( Entity e, Symbol * grp_ref, Symbol * attr_ref ) {
|
||||
|
||||
@@ -431,7 +431,7 @@ generate_attribute_name( Variable a, char * out ) {
|
||||
/* copy p to out */
|
||||
/* DAR - fixed so that '\n's removed */
|
||||
for( j = 0, q = out; p, j < BUFSIZ; p++ ) {
|
||||
/* copy p to out, 1 char at time. Skip \n's and spaces, convert
|
||||
/* copy p to out, 1 char at time. Skip \n's and spaces, convert */
|
||||
/* '.' to '_', and convert to lowercase. */
|
||||
if( ( *p != '\n' ) && ( *p != ' ' ) ) {
|
||||
if( *p == '.' ) {
|
||||
@@ -2715,10 +2715,10 @@ LIBstructor_print( Entity entity, FILE * file, Schema schema ) {
|
||||
|
||||
/* Next lines added for independent field - DAR */
|
||||
/* if ( ENTITYget_supertypes(entity) || ENTITYget_abstract(entity) ) {
|
||||
/* If entity has supertypes or is abstract it's not independent.
|
||||
// If entity has supertypes or is abstract it's not independent.
|
||||
fprintf (file, "\n _independent = 0;\n");
|
||||
fprintf (file, " // entity either has supertypes or is abstract\n");
|
||||
/* Otherwise, keep the default value of 1.
|
||||
// Otherwise, keep the default value of 1.
|
||||
}
|
||||
*/
|
||||
/* attributes */
|
||||
|
||||
@@ -739,7 +739,7 @@ SCOPEPrint( Scope scope, FILE * idl_file, Schema schema, Express model ) {
|
||||
}
|
||||
|
||||
/* }
|
||||
else /* the old way * /
|
||||
else // the old way
|
||||
super = ENTITYput_superclass (e);*/
|
||||
|
||||
if( super ) {
|
||||
|
||||
Reference in New Issue
Block a user