summaryrefslogtreecommitdiff
path: root/src/cuda-sim/ptx.y
diff options
context:
space:
mode:
authorGuillermo Julián <[email protected]>2015-07-11 11:16:42 +0200
committerGuillermo Julián <[email protected]>2015-07-11 11:16:42 +0200
commit6d99ddf6d366302c29890a98f217a3885ce3d0e2 (patch)
treee4cc8ee68e9bb0556d610f8e98886bab120868c6 /src/cuda-sim/ptx.y
parent2dee85bd4e7558e190880e2ade20764131945569 (diff)
Allow visible directives in variable specifications
Diffstat (limited to 'src/cuda-sim/ptx.y')
-rw-r--r--src/cuda-sim/ptx.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cuda-sim/ptx.y b/src/cuda-sim/ptx.y
index 79faddf..a6cdfda 100644
--- a/src/cuda-sim/ptx.y
+++ b/src/cuda-sim/ptx.y
@@ -320,6 +320,7 @@ var_spec_list: var_spec
var_spec: space_spec
| type_spec
| align_spec
+ | VISIBLE_DIRECTIVE
| EXTERN_DIRECTIVE { add_extern_spec(); }
;