Collect multi name handling.

Reported by :    Stephan Kulow <coolo@caldera.de>
This commit is contained in:
Takanori Watanabe 2001-10-23 14:54:15 +00:00
parent dad51e5ce8
commit 7e489a2fdd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85364
2 changed files with 4 additions and 0 deletions

View File

@ -371,6 +371,7 @@ asl_dump_field(u_int8_t **dpp, u_int32_t offset)
case 'A' ... 'Z':
case '_':
case '.':
case '/':
name = asl_dump_namestring(&dp);
width = asl_dump_pkglength(&dp);
offset += width;
@ -751,6 +752,7 @@ asl_dump_termobj(u_int8_t **dpp, int indent)
case 'A' ... 'Z':
case '_':
case '.':
case '/':
dp--;
print_namestring((name = asl_dump_namestring(&dp)));
if (scope_within_method == 1) {

View File

@ -703,6 +703,7 @@ aml_parse_field(struct aml_environ *env, struct aml_field *template)
case 'A'...'Z':
case '_':
case '.':
case '/':
name = aml_parse_namestring(env);
width = aml_parse_pkglength(env);
template->bitlen = width;
@ -1309,6 +1310,7 @@ aml_parse_termobj(struct aml_environ *env, int indent)
case 'A' ... 'Z':
case '_':
case '.':
case '/':
env->dp--;
ret->type = aml_t_namestr;
ret->nstr.dp = aml_parse_namestring(env);