From 2d42f6c7d4ea06fec44c84d25097be67a0664318 Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 30 Sep 2009 04:11:38 +0000 Subject: [PATCH] *** empty log message *** --- input.txt | 34 +++++++++++++++++++++++++++++----- 1 file changed, 29 insertions(+), 5 deletions(-) diff --git a/input.txt b/input.txt index 0e626ce..3317850 100644 --- a/input.txt +++ b/input.txt @@ -19,11 +19,19 @@ MAPLIST = '' MAP * '' STATELIST = '' STATE * '' MODULE = '' DEFUN-NAME + '' -DEFUN-NAME = '' +DEFUN-NAME = '' + +COMMAND + = '' + DESCRIPTION ? + KEYSEQ * + '' MAP = '' RULE * '' -RULE = '' [ KEYSEQ | COMMAND-REF ] FUNCALL * '' +RULE = '' [ KEYSEQ | CMDREF ] FUNCALL * '' + +CMDREF = '' STATE = '' BRANCH * '' @@ -32,7 +40,7 @@ BRANCH = ... TERM += MIM-TERM PREDEFINED += MIM-PREDEFEIND -MIM-TERM = KEYSEQ MARKER +MIM-TERM = KEYSEQ | MARKER KEYSEQ = '' [ INTTERM | STRTERM | SYMTERM ] + '' KEYSEQTERM = KEYSEQ | VAR (value is KEYSEQ) | FUNCALL (return KEYSEQ) @@ -40,10 +48,26 @@ KEYSEQTERM = KEYSEQ | VAR (value is KEYSEQ) | FUNCALL (return KEYSEQ) MARKER = '' SYMTERM '' MARKERTERM = MARKER | VAR (value is MARKER) | FUNCALL (return MARKER) +SELECTOR = '' SYMTERM '' +SELECTORTERM = SELECTOR | VAR (value is SELECTOR) | FUNCALL (return SELECTOR) -MIM-PREDEFINED = MARK MOVE PUSHBACK ... +MIM-PREDEFINED + = INSERT | CANDIDATES | DELETE | SELECT | SHOW | HIDE + | MARK | MOVE | PUSHBACK | POP | UNDO | COMMIT | UNHANDLE + | SHIFT | SHIFTBACK +INSERT = '' [ INTTERM | STRTERM ] '' +CANDIDATES = '' [ STRTERM | LISTTERM ] '' +DELETE = '' [ MARKERTERM | INTTERM ] '' +SELECT = '' +SHOW = '' +HIDE = '' MOVE = '' [ MARKERTERM | INTTERM ] '' MARK = '' MARKERTERM '' PUSHBACK = '' [ KEYSEQTERM | INTTERM ] '' -... +POP = '' +UNDO = '' INTTERM ? '' +COMMIT = '' +UNHANDLE = '' +SHIFT = '' SYMTERM '' +SHIFTBACK = '' -- 1.7.10.4