diff options
| author | gpgpu-sim <[email protected]> | 2018-03-26 19:31:18 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-03-26 19:31:18 -0700 |
| commit | 636baf9e26db74562de3542f7c84ba34802295b3 (patch) | |
| tree | 268d4d6aaac4aee4f1c4a1c4dc7b80622f02d83c /src/cuda-sim | |
| parent | 5373d10cd2b5dde7c94cccf6e07b8f59869223af (diff) | |
| parent | 7a47f490efb7e7e7e4b960107f9bae79c5ab4a3d (diff) | |
Merge pull request #60 from pigrew/dev-ParserFix
Dev parser fix
Diffstat (limited to 'src/cuda-sim')
| -rw-r--r-- | src/cuda-sim/ptx.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cuda-sim/ptx.y b/src/cuda-sim/ptx.y index e00aa4b..4edae5d 100644 --- a/src/cuda-sim/ptx.y +++ b/src/cuda-sim/ptx.y @@ -47,7 +47,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. %token PTR_DIRECTIVE %token ENTRY_DIRECTIVE %token EXTERN_DIRECTIVE -%token WEAK_DIRECTIVE %token FILE_DIRECTIVE %token FUNC_DIRECTIVE %token GLOBAL_DIRECTIVE @@ -513,7 +512,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 ); } |
