mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-04 12:16:41 +00:00
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:
parent
d86fca3aff
commit
5383ccd0cc
@ -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,
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user