|
|
coherent
#line Preprocessing Directive #line Reset line number #lliinnee _n_u_m_b_e_r _n_e_w_l_i_n_e #lliinnee _n_u_m_b_e_r _f_i_l_e_n_a_m_e _n_e_w_l_i_n_e #lliinnee _m_a_c_r_o_s _n_e_w_l_i_n_e #line is a preprocessing directive that resets the line number within a file. The ANSI Standard defines the line number as being the number of newline characters read, plus one. #line can take any of three forms. The first, #lliinnee _n_u_m_b_e_r, resets the current line number in the source file to number. The second, #lliinnee _n_u_m_b_e_r _f_i_l_e_n_a_m_e, resets the line number to number and changes the name of the file to filename. The third, #lliinnee _m_a_c_r_o_s, contains macros that have been defined by earlier preprocessing directives. When the macros have been expanded by the preprocessor, the #lliinnee instruction will then resemble one of the first two forms and be interpreted appropriately. ***** See Also ***** C preprocessor ***** Notes ***** Most often, #line is used to ensure that error messages point to the correct line in the program's source code. A program gener- ator may use this directive to associate errors in generated C code with the original sources. For example, the program gener- ator yyaacccc uses #lliinnee instructions to link the C code it generates with the yyaacccc code written by the programmer. COHERENT Lexicon Page 1
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.