diff options
Diffstat (limited to 'ld/ldgram.y')
-rw-r--r-- | ld/ldgram.y | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ld/ldgram.y b/ld/ldgram.y index c57ad15..f1924a0 100644 --- a/ld/ldgram.y +++ b/ld/ldgram.y @@ -1061,7 +1061,11 @@ vers_nodes: ; vers_node: - VERS_TAG '{' vers_tag '}' ';' + '{' vers_tag '}' ';' + { + lang_register_vers_node (NULL, $2, NULL); + } + | VERS_TAG '{' vers_tag '}' ';' { lang_register_vers_node ($1, $3, NULL); } |