看到你更新了就想拿我的fish和你比一下,看下面的测试用例:
/*****************************************************************
** HighlightCodeV3.0 software by yzfy(雨中飞燕) http:// **
*****************************************************************/
#define keyword_test:
auto enum restrict unsigned break extern return
void case float short volatile char for signed
while const goto sizeof _Bool continue if static
_Complex default inline struct _Imaginary do int
switch double long typedef else register union
int test()
{
int a=10L;
int b=0x2efd+0X0001+0x98ga+22h;
double f1=0.2e3+5.4E5+5E-3+5E+3+5.+.5;
char *string="hello\n"; /*hello world*/
wchar_t a=L"hello"; // 你好
return 0;
}
下面是fish的结果:
#define keyword_test:
auto enum restrict unsigned break extern return
void case float short volatile char for signed
while const goto sizeof _Bool continue if static
_Complex default inline struct _Imaginary do int
switch double long typedef else register union
int test()
{
int a=10L;
int b=0x2efd+0X0001+0x98ga+22h;
double f1=0.2e3+5.4E5+5E-3+5E+3+5.+.5;
char *string="hello\n"; /*hello world*/
wchar_t a=L"hello"; // 你好
return 0;
}
偶的fish兼容C99标准,偶不由得要偷偷乐一下。
为了防止世界被破坏,为了守护世界的和平,贯彻爱与真实的邪恶,可爱又迷人的反派角色,VxWorks!
Don't ask me any question.I'm just here to buy soy sauce.