Lines Matching refs:state
327 compound state=(
328 # C comment state
330 # C++ comment state
345 # literal state
378 if ${state.in_c_comment} ; then
381 state.in_c_comment=false
393 elif ${state.cxx.in_comment} ; then
395 state.cxx.in_comment=false
398 if ${state.cxx.comment_continued} ; then
400 (( state.cxx.comment_prev_pos.x=state.cxx.comment_pos.x ,
401 state.cxx.comment_prev_pos.y=state.cxx.comment_pos.y ))
404 (( state.cxx.comment_prev_pos.x=state.cxx.comment_pos.x ,
405 state.cxx.comment_prev_pos.y=state.cxx.comment_pos.y ))
415 elif ${state.in_sq_literal} ; then
417 state.in_sq_literal=false
419 elif ${state.in_dq_literal} ; then
421 state.in_dq_literal=false
426 state.in_c_comment=true
430 if (( state.cxx.comment_prev_pos.x == line_pos.x && \
431 state.cxx.comment_prev_pos.y == (line_pos.y-1) )) ; then
432 state.cxx.comment_continued=true
434 state.cxx.comment_continued=false
436 (( state.cxx.comment_pos.x=line_pos.x , state.cxx.comment_pos.y=line_pos.y ))
437 state.cxx.in_comment=true
440 state.in_sq_literal=true
442 state.in_dq_literal=true
452 if ${state.in_c_comment} ; then
457 if ${state.cxx.in_comment} ; then
462 if ${state.in_dq_literal} ; then
469 if ${state.in_sq_literal} ; then