adding new stuff
This commit is contained in:
parent
f84d7183aa
commit
9ef8a96f9a
1580 changed files with 0 additions and 0 deletions
45
plugins/bundle/xptemplate/ftplugin/lex/lex.xpt.vim
Normal file
45
plugins/bundle/xptemplate/ftplugin/lex/lex.xpt.vim
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
XPTemplate priority=lang
|
||||
|
||||
let s:f = g:XPTfuncs()
|
||||
|
||||
XPTvar $TRUE 1
|
||||
XPTvar $FALSE 0
|
||||
XPTvar $NULL NULL
|
||||
XPTvar $UNDEFINED NULL
|
||||
|
||||
XPTvar $VOID_LINE /* void */;
|
||||
XPTvar $CURSOR_PH cursor
|
||||
|
||||
XPTvar $BRif ' '
|
||||
XPTvar $BRel \n
|
||||
XPTvar $BRloop ' '
|
||||
XPTvar $BRstc ' '
|
||||
XPTvar $BRfun ' '
|
||||
|
||||
XPTinclude
|
||||
\ _common/common
|
||||
\ c/c
|
||||
|
||||
|
||||
" ========================= Function and Variables =============================
|
||||
|
||||
" ================================= Snippets ===================================
|
||||
|
||||
|
||||
XPT lex " Basic lex file
|
||||
%{
|
||||
/* includes */
|
||||
%}
|
||||
/* options */
|
||||
%%
|
||||
/* rules */
|
||||
%%
|
||||
/* C code */
|
||||
|
||||
|
||||
XPT ruleList " .. {..} ...
|
||||
`reg^ { `return^ }`...^
|
||||
`reg^ { `return^ }`...^
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue