C中的#line关键字 [英] #line keyword in C

查看:107
本文介绍了C中的#line关键字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试理解一些代码,并且遇到了一个我从未见过的关键字.我试图用Google搜索它,但也没有找到任何有关它的信息.

I am trying to understand some code and I've come across a keyword that I've never seen before. I tried to google it, but haven't found anything regarding it as well.

char *valtext;
#line 1 "Values.l"
#define INITIAL 0
#line 2 "Values.l"
int reserve(char *s);
#line 388 "lex.val.c"

我已经包含了整个代码块,希望也许有人可以帮助我理解这段代码.我的系统上找不到任何名为"Values.l"的文件,而这部分代码位于"lex.val.c"文件中.

I've included the entire block hoping that perhaps someone can help me understand this chunk of code. I can't find any files on my system named "Values.l" and this chunk of code is located in the "lex.val.c" file.

提前谢谢.

推荐答案

line指令: http://msdn.microsoft.com/en -US/library/b5w2czay%28v = VS.80%29.aspx

这篇关于C中的#line关键字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆