diff options
author | Andrés M <andmarti1424@users.noreply.github.com> | 2020-08-25 13:29:53 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-25 13:29:53 -0300 |
commit | ac67fe87c9d5479fb96359aa8bd150441bc0fad5 (patch) | |
tree | cbed71034640b7109546ad46b5540ac24fbd44e6 /src/gram.y | |
parent | 552cee9acdb40f60b5103a496f132270a76eb63b (diff) | |
parent | 759bd797af2b785fe424c513a8897fb9ef45c344 (diff) |
Merge pull request #442 from wimstockman/strtonum
Strtonum
Diffstat (limited to 'src/gram.y')
-rwxr-xr-x | src/gram.y | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -120,6 +120,7 @@ token S_YANKCOL %token S_SEVAL %token S_ERROR %token S_FILL +%token S_STRTONUM /* token S_ADDNOTE token S_DELNOTE @@ -584,6 +585,7 @@ command: // | S_GOTO WORD { /* don't repeat last goto on "unintelligible word" */ ; } | S_CCOPY range { copy_to_clipboard($2.left.vp->row, $2.left.vp->col, $2.right.vp->row, $2.right.vp->col); } +| S_STRTONUM range { convert_string_to_number($2.left.vp->row, $2.left.vp->col, $2.right.vp->row, $2.right.vp->col); } | S_CPASTE { paste_from_clipboard(); } | S_LOCK var_or_range { lock_cells($2.left.vp, $2.right.vp); } | S_UNLOCK var_or_range { unlock_cells($2.left.vp, $2.right.vp); } |