If we are inheriting the syntax from a superior, we'd rather inherit

the length too.
This commit is contained in:
Julio Sánchez Fernández 1999-06-17 15:05:02 +00:00
parent 9ec2849a6d
commit 45679394e0

View File

@ -571,6 +571,7 @@ at_add(
if ( sat->sat_sup ) { if ( sat->sat_sup ) {
if ( !sat->sat_syntax ) { if ( !sat->sat_syntax ) {
sat->sat_syntax = sat->sat_sup->sat_syntax; sat->sat_syntax = sat->sat_sup->sat_syntax;
sat->sat_syntax_len = sat->sat_sup->sat_syntax_len;
} }
if ( !sat->sat_equality ) { if ( !sat->sat_equality ) {
sat->sat_equality = sat->sat_sup->sat_equality; sat->sat_equality = sat->sat_sup->sat_equality;