Add cast to avoid signed/unsigned warning.
[deliverable/binutils-gdb.git] / gold / yyscript.y
index b78c09b5662f512a95281f95c5d01909217f1b0c..3250e8ed2d715bb6fe430be60e9471ca58a4d6e1 100644 (file)
 %token TRUNCATE
 %token VERSIONK                /* VERSION */
 
+/* Keywords, part 2.  These are keywords that are unique to gold,
+   and not present in the old GNU linker.  As before, unless the
+   comments say otherwise, the keyword is recognized as the token
+   name in upper case. */
+
+%token OPTION
+
 %%
 
 file_list:
@@ -164,6 +171,8 @@ file_cmd:
            { script_start_group(closure); }
          '(' input_list ')'
            { script_end_group(closure); }
+        | OPTION '(' STRING ')'
+            { script_parse_option(closure, $3); }
        ;
 
 input_list:
This page took 0.022916 seconds and 4 git commands to generate.