cmtdefs - cmt ?θ????????ǡ????١???
cmtdefs ?Ǥ? EUC
?祳???ɥ??åȤ??????????????ɥ??åȤ?ʸ???????ѤǤ??ޤ???????ɽ???ˤ???
?ѥ??????ϡ??Х???ñ?̤ǤϤʤ?ʸ??ñ?̤˹Ԥ????ޤ???
????ɽ???Υѥ????ޥå??Ǥϡ??ü?ʸ???ϼ祳???ɥ??åȡʥ????ɥ???
??
0?ˤ˴ޤޤ??????ΤǤʤ????Фʤ??ޤ??????礫?ä???[]?ǤǰϤ???ʸ??????
?ǡ?-?Ǥ??Ȥäƥ??????ϰϤ????ꤹ???????ˤϡ??ϰϤλ????Ƚ?????ʸ????Ʊ
???????ɥ??åȤ?°???ʤ????Фʤ??ޤ?????
oc
?ե饰??Ω?Ƥ??Ȥ????祳???ɥ??åȤ???ʸ??????ʸ????Ⱦ?ѱѻ??ˤΤߤ?
?????Ȥ??ư??????ޤ???
cmtdefs ?ˤ? cmt(1)
?ѤΤ??٤Ƥθ??????????ޤޤ??Ƥ??ޤ??????Υǡ????١?????
termcap(5) ?˹??????Ƥ??ơ?1
?Ĥθ??????Ф????????? 1
?Ĥι??ܤˤޤȤ??ޤ????ƹ???
?? 1
?ԤǴ??뤷?ޤ????????????????ˡ?\?Ǥ??֤????Ȥˤ??äƼ??Ԥ˷?³??
????1
?Ĥι??ܤ?ʣ???Ԥˤ錄?ä????Ϥ??뤳?Ȥ??Ǥ??ޤ?????#?ǤǻϤޤ???
???????Ȥ???̵?뤵???ޤ???
???줾???θ????˴ؤ??????ܤϡ???:?ǤǶ??ڤ??줿ʣ?????鹽????????
?????ǽ??????ˤϰ???Ū?ʸ???̾?Ҥ??ޤ??????θ???̾??
-v
???ץ??????ǽ??Ϥ??????ʳ??ˤϰ?̣???????ޤ???:?ǡ???\?ǤȲ??ʳ?
??Ǥ?դ?ʸ?????Ȥ????Ȥ??Ǥ??ޤ???
?? 2
???ʹߤˤϳ????Ǥ???????³???ޤ??????줾???????Ǥ?
2 ʸ???Υ????ɤ?
?????졤?֡??뷿??ʸ???? 2
?Ĥη????????ޤ???ʸ???????ǤǤ?
2 ʸ
???Υ????ɤΤ??Ȥ?ʸ????=?Ǥ?ʸ?????ʤ??Ȥ?³????:?Ǥǽ??????ˤ????ꤷ??
????
?????????ˤ??????硤???????ʡ?:?ǤΤ??ȡˤκǽ???ʸ???Ȥ??ơ?.?ǡʥԥꥪ
?ɡˤ????????ޤ???
??????ɽ?ϡ????줾???????Ǥ?̾???????????ޤ???
- ̾?? ??
- ????
- nm ʸ????
- ????̾??-l
???ץ??????ǻ??ѡˤ?????ɽ??
- fn ʸ????
- ?ե?????̾??????ɽ??
- cb ʸ????
- ?????λϤޤ???????ɽ??
- ce ʸ????
- ?????ν???????????ɽ??
- ab ʸ????
- ?? 2 ??????alternative
comment?ˤλϤޤ???????ɽ??
- ae ʸ????
- ?? 2 ?????ν???????????ɽ??
- sb ʸ????
- ʸ?????λϤޤ???????ɽ??
- sn ʸ????
- ʸ????????ʸ???????餻?ʤ?ʸ??????????ɽ??
- se ʸ????
- ʸ?????ν???????????ɽ??
- hb ʸ????
- ʸ???????λϤޤ???????ɽ??
- hn ʸ????
- ʸ??????????ʸ?????????餻?ʤ?ʸ??????????ɽ??
- he ʸ????
- ʸ???????ν???????????ɽ??
- nc ʸ????
- ??????????????ɽ??
- pb ʸ????
- ??????ʸ?λϤޤ???????ɽ??
- pn ʸ????
- ??????ʸ??????????ʸ???餻?ʤ?ʸ??????????ɽ??
- pe ʸ????
- ??????ʸ?ν???????????ɽ??
- id ʸ????
- ???̻ҡ?identifier?ˤ?????ɽ??
- kw ʸ????
- ?????ˤ??????ڤä??¤٤???ͽ?????ꥹ??
- pw ʸ????
- ?????ˤ??????ڤä??¤٤?????????ʸ???Ǥ?ͽ?????ꥹ??
- oc ?֡???
- ¸?ߤ??????硤??ʸ???Ⱦ?ʸ?????????Ǥ??뤳?Ȥ???̣????
- al ?֡???
- ¸?ߤ??????硤???٤Ƥμ??̻Ҥ?ͽ?????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???ʸ???????̤?ʸ???Ȥ??Ʋ??ᤵ???ޤ?????
??ʸ???ϡ??Хå??????å??????դ??뤫
8
??ɽ?????Ѥ??뤳?ȤǤ??Ȥ??̾???
ʸ???Ȥ???ɽ???Ǥ??ޤ???
- (expression)
- ???ä???()?ǤǰϤä?????ɽ???Ϥ??Τ??Τ˰??פ??ޤ????黻?Ҥ?ͥ???٤??Ѥ?
?????????Ѥ??ޤ???
- |
- ???ء?2
?Ĥ?????ɽ??????|?ǤǶ??ڤä??????ϡ??????줫??????ɽ???˰??פ?
?????ΤȰ??פ??ޤ??ʺ?¦ͥ???ˡ?
- *
- ????????ɽ???Ȥ?????³????*?Ǥϡ?0
?İʾ??Τ??θ???????ɽ???Ȱ??פ???
???????פ????оݤ?ʣ???Ĥ????????ϡ??Ǥ?????????ü?˶ᤤ??Ĺ??????ɽ????
???פ??ޤ???
- +
- ????????ɽ???Ȥ?????³????+?Ǥϡ?1
?İʾ??Τ??θ???????ɽ???Ȱ??פ???
???????פ????оݤ?ʣ???Ĥ????????ϡ??Ǥ?????????ü?˶ᤤ??Ĺ??????ɽ????
???פ??ޤ???
- ?
- ????????ɽ???Ȥ?????³??????Ǥϡ?0
?Ĥޤ??? 1
?ĤΤ??θ???????ɽ???Ȱ???
???ޤ??????פ????оݤ?ʣ???Ĥ????????ϡ??Ǥ?????????ü?˶ᤤ??Ĺ??????ɽ
???Ȱ??פ??ޤ???
Ϣ???ϰ???Ū?ʱ黻?Ҥǡ?????ɽ????Ϣ?뤷?????Τϡ??ƥ?????ʸ??????Ϣ?뤷
?????ΤȰ??פ??????줾?줬?????ѥ???????Ϣ³????????ɽ???Ȱ??פ??ޤ???
ͥ?????̤Ϲ⤤?ۤ????顤
?????֤??ʡ?*?ǡ???+?ǡ?????ǡ?
Ϣ??
???ءʡ?|?ǡ?
?ν??ˤʤ??ޤ???
??????????ŵ???Ȥ??? C
??????ɽ?????ܤ??ޤ???
- C:\
:nm=c|C:\
:fn=.*\.[ch](\.(BAK|bak|~[0-9]+~)|~)?:\
:cb=/\*:ce=\*/:\
:sb=":se="|$:sn=\\(.|$):\
:hb=':he='|$:hn=\\(.|$):\
:pb=^#:pe=$:pn=\\(.|$)|<.*>:\
:nc=(0x[0-9a-fA-F]+|([0-9]+(\.[0-9]*)?|\.[0-9]+)\
([eE][-+]?[0-9]+)?)[fluFLU]*:\
:id=[a-zA-Z_][a-zA-Z0-9_]*:\
:kw=asm auto break case char const continue\
default do double else enum extern float for\
fortran goto if int long register return short\
signed sizeof static struct switch typedef union\
unsigned void volatile while:\
:pw=define defined elif else endif error if ifdef\
ifndef include line pragma undef:
sn ?ϡ?ʸ???????? \"
?????äƤ????ä?ʸ?????ν??????Ȥ???ǧ?????ʤ??褦
?ˤ??뤿???Τ??ΤǤ???
pw
?????Ѥ??ƥץ??ץ????å????ԤǤϰۤʤä?ͽ?????ꥹ?Ȥ??Ȥ??褦?ˤ???
???ޤ???
/usr/local/lib/cmtdefs ?????????ǡ????١???