lex.jam
来自「C++的一个好库。。。现在很流行」· JAM 代码 · 共 26 行
JAM
26 行
# Copyright (C) Vladimir Prus 2002. Permission to copy, use, modify, sell and
# distribute this software is granted provided this copyright notice appears in
# all copies. This software is provided "as is" without express or implied
# warranty, and with no claim as to its suitability for any purpose.
import type ;
import generators ;
import feature ;
import property ;
import print ;
type.register LEX : l ;
generators.register-standard lex.lex : LEX : C ;
rule lex ( targets * : sources * : properties * )
{
print.output $(<) ;
# Need to supress SunCC's warning about empty source
# file.
print.text "void foo() {}" ;
}
actions lex
{
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?