xdrgen: Clean up type_specifier

Clean up: Make both arms of the type_specifier AST transformer
match. No behavior change is expected.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
This commit is contained in:
Chuck Lever 2024-09-29 20:50:12 -04:00
parent d86fca3aff
commit 5383ccd0cc

View File

@ -303,9 +303,9 @@ class ParseToAst(Transformer):
c_classifier=c_classifier,
)
token = children[0].data
name = children[0].data.value
return _XdrBuiltInType(
type_name=token.value,
type_name=name,
c_classifier=c_classifier,
)