diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2017-11-24 09:22:24 +0100 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2017-11-24 09:23:38 +0100 |
commit | a6b5a6bdd138a5ccc6827bcc73580df1e9218820 (patch) | |
tree | ff577395c1a5951a61a7234322f927f6ead5ee29 /actionParser.mly | |
parent | ecb6fd62c275af03a07d892313ab3914d81cd40e (diff) |
Moved all the code to src directory
Diffstat (limited to 'actionParser.mly')
-rwxr-xr-x | actionParser.mly | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/actionParser.mly b/actionParser.mly deleted file mode 100755 index 6318ca6..0000000 --- a/actionParser.mly +++ /dev/null @@ -1,45 +0,0 @@ -%{ - open Actions - -%} - -%token ESC -%token EOF -%token LEFT RIGHT UP DOWN -%token NPAGE PPAGE HOME END -%token RESIZE -%token DELETE -%token SEARCH -%token E U V Y P -%token EQUAL -%token I -%token <int*int>BUTTON1_CLICKED -%token <int*int>BUTTON1_RELEASED -%token COMMAND - -%start <Actions.actions> normal -%% - - -normal: - | ESC { Escape } - | LEFT { Move (Left 1) } - | RIGHT { Move (Right 1) } - | UP { Move (Up 1) } - | DOWN { Move (Down 1) } - | RESIZE { Resize } - | DELETE { Delete } - | E { Edit } - | U { Undo } - | V { Visual } - | Y { Yank } - | P { Paste } - | SEARCH { Search } - | EQUAL { InsertFormula } - | NPAGE { Move (Down 10)} - | PPAGE { Move (Up 10)} - | HOME { Move (Left 10)} - | END { Move (Right 10)} - | BUTTON1_CLICKED { Button1_clicked $1} - | BUTTON1_RELEASED{ Button1_released $1} - | COMMAND { Command } |