• 大小: 660KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-06-16
  • 语言: 其他
  • 标签: Flex  Bison  Bison3.0  

资源简介

win_flex_bison 编译版本 2.5.3 其中Flex版本为 2.5.37 Bison版本为 3.0 编译中使用Bison遇到报错No such file的可以试试我这个。

资源截图

代码片段和文件信息

                                                                    -*- C -*-

# GLR skeleton for Bison

# Copyright (C) 2002-2013 Free Software Foundation Inc.

# 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 3 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 see .


# If we are loaded by glr.cc do not override c++.m4 definitions by
# those of c.m4.
m4_if(b4_skeleton [“glr.c“]
      [m4_include(b4_pkgdatadir/[c.m4])])

## ---------------- ##
## Default values.  ##
## ---------------- ##

# Stack parameters.
m4_define_default([b4_stack_depth_max] [10000])
m4_define_default([b4_stack_depth_init]  [200])



## ------------------------ ##
## Pure/impure interfaces.  ##
## ------------------------ ##

b4_define_flag_if([pure])
# If glr.cc is including this file and thus has already set b4_pure_flag
# do not change the value of b4_pure_flag and do not record a use of api.pure.
m4_ifndef([b4_pure_flag]
[b4_percent_define_default([[api.pure]] [[false]])
 m4_define([b4_pure_flag]
           [b4_percent_define_flag_if([[api.pure]] [[1]] [[0]])])])

# b4_user_formals
# ---------------
# The possible parse-params formal arguments preceded by a comma.
#
# This is not shared with yacc.c in c.m4 because  GLR relies on ISO C
# formal argument declarations.
m4_define([b4_user_formals]
[m4_ifset([b4_parse_param] [ b4_formals(b4_parse_param)])])


# b4_yyerror_args
# ---------------
# Optional effective arguments passed to yyerror: user args plus yylloc and
# a trailing comma.
m4_define([b4_yyerror_args]
[b4_pure_if([b4_locations_if([yylocp ])])dnl
m4_ifset([b4_parse_param] [b4_args(b4_parse_param) ])])


# b4_lyyerror_args
# ----------------
# Same as above but on the lookahead hence &yylloc instead of yylocp.
m4_define([b4_lyyerror_args]
[b4_pure_if([b4_locations_if([&yylloc ])])dnl
m4_ifset([b4_parse_param] [b4_args(b4_parse_param) ])])


# b4_pure_args
# ------------
# Same as b4_yyerror_args but with a leading comma.
m4_define([b4_pure_args]
[b4_pure_if([b4_locations_if([ yylocp])])[]b4_user_args])


# b4_lpure_args
# -------------
# Same as above but on the lookahead hence &yylloc instead of yylocp.
m4_define([b4_lpure_args]
[b4_pure_if([b4_locations_if([ &yylloc])])[]b4_user_args])



# b4_pure_formals
# ---------------
# Arguments passed to yyerror: user formals plus yylocp with leading comma.
m4_define([b4_pure_f

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件          85  2014-06-17 02:15  custom_build_rules\how_to_use.txt
     文件        1864  2014-06-17 02:15  custom_build_rules\win_flex_bison_custom_build.props
     文件        5983  2014-06-17 02:15  custom_build_rules\win_flex_bison_custom_build.targets
     文件        8381  2014-06-17 02:15  custom_build_rules\win_flex_bison_custom_build.xml
     文件       38238  2014-06-17 21:28  data\bison.m4
     文件       25200  2014-06-17 21:28  data\c.m4
     文件       17232  2014-06-17 21:28  data\c++.m4
     文件        1176  2014-06-17 21:28  data\c++-skel.m4
     文件        2379  2014-06-17 21:28  data\c-like.m4
     文件        1170  2014-06-17 21:28  data\c-skel.m4
     文件       86153  2014-06-17 21:28  data\glr.c
     文件       11251  2014-06-17 21:28  data\glr.cc
     文件       10100  2014-06-17 21:28  data\java.m4
     文件        1177  2014-06-17 21:28  data\java-skel.m4
     文件       36090  2014-06-17 21:28  data\lalr1.cc
     文件       36112  2014-06-17 21:28  data\lalr1.java
     文件        2039  2014-06-17 21:28  data\local.mk
     文件        8955  2014-06-17 21:28  data\location.cc
     文件       15116  2014-06-17 21:28  data\m4sugar\foreach.m4
     文件      125553  2014-06-17 21:28  data\m4sugar\m4sugar.m4
     文件        2087  2014-06-17 21:28  data\README
     文件        3117  2014-06-17 21:28  data\stack.hh
     文件       10338  2014-06-17 21:28  data\variant.hh
     文件        3458  2014-06-17 21:28  data\xslt\bison.xsl
     文件       13142  2014-06-17 21:28  data\xslt\xml2dot.xsl
     文件       19282  2014-06-17 21:28  data\xslt\xml2text.xsl
     文件       23508  2014-06-17 21:28  data\xslt\xml2xhtml.xsl
     文件       65744  2014-06-17 21:28  data\yacc.c
     文件        6423  2014-06-17 02:15  FlexLexer.h
     文件        2424  2014-06-17 21:30  README.txt
     文件         399  2014-06-17 02:15  UNISTD_ERROR.readme
............此处省略2个文件信息

评论

共有 条评论