码迷,mamicode.com
首页 > 其他好文 > 详细

token in c and cpp (C preprocessor)

时间:2018-05-12 19:19:54      阅读:148      评论:0      收藏:0      [点我收藏+]

标签:const   pes   cpp   head   ESS   ant   continue   cte   ber   

C tokens are of six types, They are,

  • keyword
  • identifier
  • constant
  • string-literal
  • punctuator

preprocessing-token:

  • head-name
  • identifer
  • pp-number
  • character-constant
  • string-literal
  • punctuator
  • each non-white-space character that cannot be one of the above

reference :
ISO/IEC 9899:201x
N1570
C11

[To be continued]

token in c and cpp (C preprocessor)

标签:const   pes   cpp   head   ESS   ant   continue   cte   ber   

原文地址:https://www.cnblogs.com/youchihwang/p/9029416.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!