parseroptions.cxx

来自「SP是一个基于GNU C++编译器」· CXX 代码 · 共 52 行

CXX
52
字号
// Copyright (c) 1994 James Clark// See the file COPYING for copying permission.#ifdef __GNUG__#pragma implementation#endif#include "splib.h"#include "ParserOptions.h"#include <string.h>#ifdef SP_NAMESPACEnamespace SP_NAMESPACE {#endifParserOptions::ParserOptions(): datatag(0),  omittag(1),  rank(1),  shorttag(1),  emptynrm(0),  linkSimple(1000),  linkImplicit(1),  linkExplicit(1),  concur(0),  subdoc(99999999),  formal(1),  typeValid(sgmlDeclTypeValid),  shortref(1),  errorIdref(1),  errorSignificant(1),  errorAfdr(1),  noUnclosedTag(0),  noNet(0){  for (int i = 0; i < nQuantity; i++)    quantity[i] = 99999999;  quantity[BSEQLEN] = 960;  quantity[NORMSEP] = 2;  quantity[LITLEN] = 24000;  quantity[PILEN] = 24000;  quantity[DTEMPLEN] = 24000;}Warnings::Warnings(){  memset(this, 0, sizeof(Warnings));}#ifdef SP_NAMESPACE}#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?