1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
syntax gitrebase
state start text
char "\n" this
char # comment
char -b a-zA-Z0-9_ word
eat error
state word text
char -b a-zA-Z0-9_ this
inlist keyword separator1
bufis x exec keyword
bufis exec exec keyword
noeat error
# FIXME: can be annoying
state error
char "\n" start
eat this
state separator1 code
char " \t" space1
noeat error
state space1 code
char " \t" this
noeat sha1
state sha1 constant
char 0-9a-fA-F this
char "\n" start
char " \t" title
noeat error
state title text
char "\n" start
eat this
state exec code
char "\n" start
eat this
state comment
char "\n" start
eat this
list keyword \
e f p r s edit fixup pick reword squash
|