diff options
| author | Nathan Conrad <[email protected]> | 2018-03-26 19:08:58 -0400 |
|---|---|---|
| committer | Nathan Conrad <[email protected]> | 2018-03-26 19:08:58 -0400 |
| commit | 8b40edc95b301269f1c0f43fdb94b3adc6b21845 (patch) | |
| tree | bf308247cbad0e1331e75bf492510146a3816bd5 /src | |
| parent | 5373d10cd2b5dde7c94cccf6e07b8f59869223af (diff) | |
.call instruction may have an empty argument list
Diffstat (limited to 'src')
| -rw-r--r-- | src/cuda-sim/ptx.y | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cuda-sim/ptx.y b/src/cuda-sim/ptx.y index e00aa4b..a66f508 100644 --- a/src/cuda-sim/ptx.y +++ b/src/cuda-sim/ptx.y @@ -513,7 +513,8 @@ compare_spec:EQ_OPTION { add_option(EQ_OPTION); } | NAN_OPTION { add_option(NAN_OPTION); } ; -operand_list: operand +operand_list: /* empty*/ + | operand | operand COMMA operand_list; operand: IDENTIFIER { add_scalar_operand( $1 ); } |
