亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? yaccmsgs.pas

?? Yacc例子代碼
?? PAS
字號:
{
  TP Yacc message and error handling module 2-5-91 AG
  Note: this module should be USEd by any module using the heap during
        initialization, since it installs a heap error handler (which
        terminates the program with fatal error `memory overflow').


  Copyright (c) 1990-92  Albert Graef <ag@muwiinfa.geschichte.uni-mainz.de>
  Copyright (C) 1996     Berend de Boer <berend@pobox.com>

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.


$Revision: 2 $
$Modtime: 96-07-31 14:50 $

$History: YACCMSGS.PAS $
 * 
 * *****************  Version 2  *****************
 * User: Berend       Date: 96-10-10   Time: 21:16
 * Updated in $/Lex and Yacc/tply
 * Updated for protected mode, windows and Delphi 1.X and 2.X.

}


unit YaccMsgs;

interface


var errors, warnings : Integer;
  (* - current error and warning count *)
procedure error(msg : String);
  (* - print current input line and error message (pos denotes position to
       mark in source file line) *)
procedure warning(msg : String);
  (* - print warning message *)
procedure fatal(msg : String);
(* - writes a fatal error message, erases Yacc output file and terminates
     the program with errorlevel 1 *)

const

(* sign-on and usage message: *)

sign_on = 'TP Yacc Version 4.1a [April 2000], Copyright (c) 1990-2000 Albert Graef';
{$ifdef linux}
usage   = 'Usage: pyacc [options] yacc-file[.y] [output-file[.pas]]';
{$else}
usage   = 'Usage: yacc [options] yacc-file[.y] [output-file[.pas]]';
{$endif}
options = 'Options: -v verbose, -d debug';

(* command line error messages: *)

invalid_option                  = 'invalid option ';
illegal_no_args                 = 'illegal number of parameters';

(* syntax errors: *)

open_comment_at_eof             = '101: open comment at end of file';
missing_string_terminator       = '102: missing string terminator';
rcurl_expected                  = '103: %} expected';
rbrace_expected                 = '104: } expected';
rangle_expected                 = '105: > expected';
ident_expected                  = '106: identifier expected';
error_in_def                    = '110: error in definition';
error_in_rule                   = '111: error in rule';
syntax_error 			= '112: syntax error';
unexpected_eof                  = '113: unexpected end of file';

(* semantic errors: *)

nonterm_expected                = '201: nonterminal expected';
literal_expected                = '202: literal expected';
double_tokennum_def             = '203: literal already defined';
unknown_identifier              = '204: unknown identifier';
type_error                      = '205: type error';
range_error                     = '206: range error';
empty_grammar 			= '207: empty grammar?';

(* fatal errors: *)

cannot_open_file 		= 'FATAL: cannot open file ';
write_error                     = 'FATAL: write error';
mem_overflow 			= 'FATAL: memory overflow';
intset_overflow 		= 'FATAL: integer set overflow';
sym_table_overflow 		= 'FATAL: symbol table overflow';
nt_table_overflow 		= 'FATAL: nonterminal table overflow';
lit_table_overflow 		= 'FATAL: literal table overflow';
type_table_overflow 		= 'FATAL: type table overflow';
prec_table_overflow 		= 'FATAL: precedence table overflow';
rule_table_overflow 		= 'FATAL: rule table overflow';
state_table_overflow 		= 'FATAL: state table overflow';
item_table_overflow 		= 'FATAL: item table overflow';
trans_table_overflow 		= 'FATAL: transition table overflow';
redn_table_overflow 		= 'FATAL: reduction table overflow';

implementation

uses YaccBase;

procedure position(var f : Text;
            lineNo : integer;
            line : String;
            pos : integer);
  (* writes a position mark of the form
     lineno: line
               ^
     on f with the caret ^ positioned at pos in line
     a subsequent write starts at the next line, indented with tab *)
  var
    line1, line2 : String;
  begin
    (* this hack handles tab characters in line: *)
    line1 := intStr(lineNo)+': '+line;
    line2 := blankStr(intStr(lineNo)+': '+copy(line, 1, pos-1));
    writeln(f, line1);
    writeln(f, line2, '^');
    write(f, tab)
  end(*position*);

procedure error(msg : String);
  begin
    inc(errors);
    writeln;
    position(output, lno, line, cno-tokleng);
    writeln(msg);
    writeln(yylst);
    position(yylst, lno, line, cno-tokleng);
    writeln(yylst, msg);
    if ioresult<>0 then ;
  end(*error*);

procedure warning(msg : String);
  begin
    inc(warnings);
    writeln;
    position(output, lno, line, cno-tokleng);
    writeln(msg);
    writeln(yylst);
    position(yylst, lno, line, cno-tokleng);
    writeln(yylst, msg);
    if ioresult<>0 then ;
  end(*warning*);

procedure fatal(msg : String);
  begin
    writeln;
    writeln(msg);
    close(yyin); close(yyout); close(yylst); erase(yyout);
    halt(1)
  end(*fatal*);

{$ifndef fpc}
{$IFNDEF Win32}
function heapErrorHandler ( size : Word ) : Integer; far;
  begin
    if size>0 then
      fatal(mem_overflow) (* never returns *)
    else
      heapErrorHandler := 1
  end(*heapErrorHandler*);
{$ENDIF}
{$endif}

begin
  errors := 0; warnings := 0;
{$ifndef fpc}
{$IFNDEF Win32}
  (* install heap error handler: *)
  heapError := @heapErrorHandler;
{$ENDIF}
{$endif}
end(*YaccMsgs*).

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久免费美女视频| 欧美日韩一区二区三区四区 | 欧美一区二区三区小说| 精品国免费一区二区三区| 国产午夜精品美女毛片视频| 亚洲色图一区二区三区| 日韩成人精品在线观看| 成人性生交大片免费看中文 | 国产精品美女一区二区在线观看| 亚洲人成人一区二区在线观看| 亚洲1区2区3区4区| 国产一区二区在线观看视频| 91麻豆免费视频| 日韩你懂的在线观看| 亚洲欧美综合另类在线卡通| 首页亚洲欧美制服丝腿| 成人在线视频一区二区| 欧美精品久久99| 国产精品每日更新| 日本欧美久久久久免费播放网| 成人精品一区二区三区中文字幕| 亚洲午夜私人影院| 韩国av一区二区| 欧美三片在线视频观看| 久久久久久久久久久99999| 亚洲成人免费电影| 不卡的av中国片| 精品国产一区二区三区久久影院 | 精品影视av免费| 在线观看av不卡| 国产日韩欧美综合在线| 五月天激情综合网| 91影视在线播放| 久久精品视频在线看| 日韩在线一区二区三区| 色综合视频在线观看| 久久久欧美精品sm网站| 日韩高清一级片| 色吊一区二区三区| 国产精品毛片a∨一区二区三区| 日本不卡的三区四区五区| 色婷婷综合久久久中文字幕| 国产日韩欧美制服另类| 久久国产精品99精品国产| 欧美视频一区二区在线观看| 国产精品白丝在线| 国产精品一区二区三区乱码 | 六月丁香婷婷色狠狠久久| 在线亚洲一区观看| 最新日韩在线视频| 国产盗摄一区二区| 精品精品国产高清a毛片牛牛 | 91精品久久久久久蜜臀| 亚洲影院理伦片| 色综合久久88色综合天天| 国产日韩欧美一区二区三区乱码| 久久成人羞羞网站| 欧美一区二区三区白人| 视频一区二区欧美| 欧美人与禽zozo性伦| 亚洲自拍都市欧美小说| 色吊一区二区三区| 亚洲人成精品久久久久久| 成人精品免费看| 日本一区二区视频在线观看| 国产精品一线二线三线精华| 久久婷婷久久一区二区三区| 九九视频精品免费| 精品国产青草久久久久福利| 蜜臀a∨国产成人精品| 日韩限制级电影在线观看| 日韩在线播放一区二区| 91精品国产高清一区二区三区| 午夜不卡av免费| 日韩一区二区在线看片| 美女脱光内衣内裤视频久久网站 | 韩国v欧美v亚洲v日本v| 久久综合精品国产一区二区三区 | 久久久久成人黄色影片| 国产一区二区福利视频| 久久久久久久久蜜桃| 岛国一区二区在线观看| 国产精品麻豆网站| av在线不卡电影| 亚洲欧美偷拍三级| 欧美在线观看禁18| 免费在线成人网| 久久九九全国免费| 99精品久久免费看蜜臀剧情介绍| 自拍视频在线观看一区二区| 在线亚洲高清视频| 日韩精品亚洲专区| 久久影院午夜片一区| 成人激情动漫在线观看| 一二三四区精品视频| 欧美男人的天堂一二区| 麻豆视频观看网址久久| 久久久不卡网国产精品二区| 99视频有精品| 亚洲成av人在线观看| 欧美tickling挠脚心丨vk| 粉嫩在线一区二区三区视频| 亚洲图片你懂的| 欧美一区二区三区视频免费播放 | 精品免费99久久| 成人永久看片免费视频天堂| 亚洲成av人片在www色猫咪| 成人久久18免费网站麻豆 | 精品少妇一区二区三区在线播放 | 日本一区二区三级电影在线观看| 成人福利在线看| 亚洲超碰精品一区二区| 一本色道久久加勒比精品| 九九九精品视频| 亚洲国产成人高清精品| 国产精品成人免费精品自在线观看| 日韩色在线观看| 欧美色视频一区| 99国产精品国产精品久久| 国内精品不卡在线| 日韩av成人高清| 亚洲一区二区三区在线| 国产精品久久久久久久久动漫| 欧美mv日韩mv国产网站| 91精品国产91热久久久做人人 | 精品系列免费在线观看| 婷婷久久综合九色综合伊人色| 亚洲图片激情小说| 国产日产亚洲精品系列| 欧美tickling挠脚心丨vk| 欧美日韩高清不卡| 欧美在线观看一区| 色综合天天综合在线视频| 成人午夜私人影院| 国产精品亚洲一区二区三区妖精 | 亚洲一区二区三区视频在线| 国产精品乱人伦中文| 久久久精品欧美丰满| 精品国产乱码久久| 日韩三级免费观看| 日韩一区二区三区视频| 91精品欧美综合在线观看最新| 欧美日韩一区二区在线观看| 在线一区二区观看| 色婷婷国产精品| 91浏览器入口在线观看| 91丨porny丨国产入口| 99在线精品观看| 99久久99久久久精品齐齐| 播五月开心婷婷综合| 成人精品免费看| av一区二区三区黑人| 波多野结衣亚洲| 99热99精品| 99国产精品久久| 91激情在线视频| 在线这里只有精品| 欧美日韩免费观看一区二区三区 | 国产在线日韩欧美| 国产一区二区福利| 国产白丝精品91爽爽久久| 东方欧美亚洲色图在线| 国产91在线|亚洲| 成人福利视频在线| 色婷婷综合久久久久中文 | 成人黄动漫网站免费app| 成人黄色片在线观看| www.亚洲色图.com| 日本丶国产丶欧美色综合| 在线视频欧美精品| 欧美日韩在线播放一区| 91精品在线一区二区| 欧美xxxxx牲另类人与| 国产亚洲精品bt天堂精选| 中文字幕中文字幕在线一区| 亚洲免费看黄网站| 亚洲成年人影院| 精品一区二区影视| 成人一区二区三区| 91福利国产成人精品照片| 91精品国产91久久综合桃花 | 欧美日本在线播放| 欧美一级二级在线观看| 久久亚洲一区二区三区明星换脸| 欧美激情在线免费观看| 亚洲欧美激情插| 日韩精品一二区| 国产精品自拍av| 色综合久久久网| 欧美精品xxxxbbbb| 久久女同精品一区二区| 国产精品久久久久久久久免费相片 | 日韩一级免费观看| 国产视频在线观看一区二区三区 | 国产视频视频一区| 亚洲美女屁股眼交3| 免费人成在线不卡| 成人黄色av电影| 在线不卡一区二区| 久久精品视频在线看|