外部定义External Definitions

translation-unit:translation-unit:
external-declarationexternal-declaration

translation-unit external-declarationtranslation-unit external-declaration

external-declaration: /* 只允许在外部(文件)范围内 */external-declaration: /* Allowed only at external (file) scope */
function-definitionfunction-definition

declaration

function-definition: /* 此处的声明符是函数声明符 */function-definition: /* Declarator here is the function declarator */
declaration-specifiers optdeclarator declaration-list optcompound-statementdeclaration-specifiers optdeclarator declaration-list optcompound-statement

另请参阅See Also

短语结构语法Phrase Structure Grammar