📄 comments.b
字号:
"/*" { /* old C style comment */ yypos += 2; for(;;) { int ch = input(); yypos++; if (ch == '*') { do { ch = input(); yypos++; } while (ch == '*'); if (ch == '/') break; } if (ch == '\n') { yyPosToNextLine(); } else if (ch <= 0) { yyerror("EOF inside comment"); break; } }}"//" { /* C++ style comment */ yypos += 2; for(;;) { int ch = input(); yypos++; if (ch == '\n') { yyPosToNextLine(); break; } else if (ch <= 0) { yyerror("EOF inside comment"); break; } }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -