【发布时间】:2019-12-02 15:49:43
【问题描述】:
看过 Fossil 的代码 [https://fossil-scm.org/home/annotate?filename=src/schema.c&checkin=b03652382a327740 L27..]:
/*
** The database schema for the ~/.fossil configuration database.
*/
const char zConfigSchema[] =
@ -- This file contains the schema for the database that is kept in the
@ -- ~/.fossil file and that stores information about the users setup.
@ --
@ CREATE TABLE global_config(
@ name TEXT PRIMARY KEY,
@ value TEXT
@ );
@
@ -- Identifier for this file type.
@ -- The integer is the same as 'FSLG'.
@ PRAGMA application_id=252006675;
;
我想知道@... 语法的用途是什么。我以前从未见过它,我不知道如何调用它来搜索它。 “C 中的字符串文字扩展”以及对其的各种改写都不会产生任何结果。
尽管这个问题很琐碎,但为了更好地被发现,请考虑留下这个问题。谢谢。
【问题讨论】:
-
它看起来像一个预处理器使用的标记。
标签: c language-features