에서 다음의 #pragma 지시어에 실패 pycparser 파이썬 C-파서 실패?파이썬 pyparser은의 #pragma 지시어
0
A
답변
0
거의없는 것 같습니다. #pragma lines의 구문, 의미 및 컴파일러 동작은 구현에 따라 정의됩니다. n3797 S16.6에서 :
A preprocessing directive of the form
# pragma pp-tokens(opt) new-line
causes the implementation to behave in an implementation-defined manner. The behavior might cause translation to fail or cause the translator or the resulting program to behave in a non-conforming manner. Any pragma that is not recognized by the implementation is ignored.
C 표준은 비슷한 언어를 가지고있다.
PyParser에서 어설 션 오류 이외의 다른 작업을 수행하려면 해당 동작을 변경하는 데 사용할 수있는 옵션이 무엇인지 확인해야합니다. 미안하지만 그건 내 범위를 벗어난거야.