我在autoconf代碼中看到很多東西被關閉而沒有被關閉。什麼是dnl'ed?在autotools中,什麼是dnl'ed?
3
A
回答
7
從
GNU M4 1.4.13 macro processor手動
:
8.1 Deleting whitespace in input
的內置
dnl
代表「放棄到下一行」:- 內建:DNL
所有字符,直到幷包括下一個換行符被放棄而不執行任何宏擴展。如果在沒有換行符的情況下遇到文件末尾,則會發出警告。
dnl
的擴展是無效的。它通常與
define
結合使用,以刪除跟在呼叫define
之後的換行符。因此define(`foo', `Macro `foo'.')dnl A very simple macro, indeed. foo ⇒Macro foo.
輸入至多幷包括下一個新行被丟棄,而不是註釋的處理方式(見Comments)。
[...]
2
IIRC,dnl
是do-next-line
。它只是跳過當前行的其餘部分。這是你如何在M4文件中寫評論。
dnl preprocessor will eat this
but not this dnl though this
將產生的結果文檔
but not this
(未經檢驗,也可能會殺了空閒進程崩潰或硬盤)。
相關問題
- 1. 什麼是GNU autotools的推薦版本?
- 2. 什麼是opt.apply_gradients()在TensorFlow中做什麼?
- 3. 什麼?在C#中是什麼意思?
- 4. 什麼是string.indexOf(「*。」)在Javascript中做什麼?
- 5. 是什麼。在Haskell中做什麼?
- 6. 什麼是outData.writeInt()在Java中做什麼?
- 7. 什麼是:%S在vim中做什麼?
- 8. 什麼是String.iter()在Rust中做什麼?
- 9. 如何判斷CFLAGS的gcc/autotools選項是否也在LDFLAGS中?
- 10. Autotools主目錄
- 11. autotools和python setup.py
- 12. Autotools vs CMake
- 13. Bitbake Autotools和Systemd
- 14. 什麼是-XX,-X和-d在java中?什麼是-XX:+是什麼意思?什麼-XX: - 意味着什麼?
- 15. 在autotools中如何使用README.in?
- 16. 是否有可能在autotools項目目錄中有一個不相關的autotools項目?
- 17. 什麼是/在CSS中?
- 18. 在OpenCV中,「ippicv」是什麼?
- 19. 在android中什麼是OBB
- 20. 什麼是view.Image在ember.js中?
- 21. 什麼是?在PHP 5.3中?
- 22. 什麼是!+ [] +!+ []在JavaScript中?
- 23. 什麼是DateParseException在android中
- 24. 在jquery中val()是什麼?
- 25. 在Node.js中,什麼是「on」?
- 26. 什麼是&H14&在VBScript中?
- 27. 在HTTP中,什麼是REST?
- 28. 在MVC中,什麼是ViewModel?
- 29. 什麼是|| =在rails中?
- 30. 什麼是=&在PHP中?