Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
8de5d8c1
Commit
8de5d8c1
authored
21 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
make parser
parent
864a124e
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
Parser/Gmsh.tab.cpp
+4552
-4772
4552 additions, 4772 deletions
Parser/Gmsh.tab.cpp
Parser/Gmsh.tab.hpp
+185
-194
185 additions, 194 deletions
Parser/Gmsh.tab.hpp
Parser/Gmsh.yy.cpp
+10
-6
10 additions, 6 deletions
Parser/Gmsh.yy.cpp
with
4747 additions
and
4972 deletions
Parser/Gmsh.tab.cpp
+
4552
−
4772
View file @
8de5d8c1
Source diff could not be displayed: it is too large. Options to address this:
view the blob
.
This diff is collapsed.
Click to expand it.
Parser/Gmsh.tab.hpp
+
185
−
194
View file @
8de5d8c1
#ifndef BISON_GMSH_TAB_HPP
# define BISON_GMSH_TAB_HPP
#ifndef YYSTYPE
typedef
union
{
typedef
union
{
char
*
c
;
char
*
c
;
int
i
;
int
i
;
...
@@ -10,10 +6,7 @@ typedef union {
...
@@ -10,10 +6,7 @@ typedef union {
double
v
[
5
];
double
v
[
5
];
Shape
s
;
Shape
s
;
List_T
*
l
;
List_T
*
l
;
}
yystype
;
}
YYSTYPE
;
# define YYSTYPE yystype
# define YYSTYPE_IS_TRIVIAL 1
#endif
#define tDOUBLE 257
#define tDOUBLE 257
#define tSTRING 258
#define tSTRING 258
#define tBIGSTR 259
#define tBIGSTR 259
...
@@ -201,5 +194,3 @@ typedef union {
...
@@ -201,5 +194,3 @@ typedef union {
extern
YYSTYPE
yylval
;
extern
YYSTYPE
yylval
;
#endif
/* not BISON_GMSH_TAB_HPP */
This diff is collapsed.
Click to expand it.
Parser/Gmsh.yy.cpp
+
10
−
6
View file @
8de5d8c1
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
/* A lexical scanner generated by flex */
/* A lexical scanner generated by flex */
/* Scanner skeleton version:
/* Scanner skeleton version:
* $Header: /cvsroot/gmsh/Parser/Gmsh.yy.cpp,v 1.18
8
2004-05-
14 18:23
:5
8
geuzaine Exp $
* $Header: /cvsroot/gmsh/Parser/Gmsh.yy.cpp,v 1.18
9
2004-05-
22 01:34
:5
7
geuzaine Exp $
*/
*/
#define FLEX_SCANNER
#define FLEX_SCANNER
...
@@ -10,7 +10,6 @@
...
@@ -10,7 +10,6 @@
#define YY_FLEX_MINOR_VERSION 5
#define YY_FLEX_MINOR_VERSION 5
#include
<stdio.h>
#include
<stdio.h>
#include
<unistd.h>
/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
...
@@ -24,6 +23,7 @@
...
@@ -24,6 +23,7 @@
#ifdef __cplusplus
#ifdef __cplusplus
#include
<stdlib.h>
#include
<stdlib.h>
#include
<unistd.h>
/* Use prototypes in function declarations. */
/* Use prototypes in function declarations. */
#define YY_USE_PROTOS
#define YY_USE_PROTOS
...
@@ -1014,7 +1014,7 @@ char *yytext;
...
@@ -1014,7 +1014,7 @@ char *yytext;
#line 1 "Gmsh.l"
#line 1 "Gmsh.l"
#define INITIAL 0
#define INITIAL 0
#line 2 "Gmsh.l"
#line 2 "Gmsh.l"
// $Id: Gmsh.yy.cpp,v 1.18
8
2004-05-
14 18:23
:5
8
geuzaine Exp $
// $Id: Gmsh.yy.cpp,v 1.18
9
2004-05-
22 01:34
:5
7
geuzaine Exp $
//
//
// Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
// Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
//
//
...
@@ -1223,7 +1223,7 @@ YY_MALLOC_DECL
...
@@ -1223,7 +1223,7 @@ YY_MALLOC_DECL
YY_DECL
YY_DECL
{
{
register
yy_state_type
yy_current_state
;
register
yy_state_type
yy_current_state
;
register
char
*
yy_cp
=
NULL
,
*
yy_bp
=
NULL
;
register
char
*
yy_cp
,
*
yy_bp
;
register
int
yy_act
;
register
int
yy_act
;
#line 80 "Gmsh.l"
#line 80 "Gmsh.l"
...
@@ -2725,7 +2725,6 @@ register char *yy_bp;
...
@@ -2725,7 +2725,6 @@ register char *yy_bp;
#endif
/* ifndef YY_NO_UNPUT */
#endif
/* ifndef YY_NO_UNPUT */
#ifndef YY_NO_INPUT
#ifdef __cplusplus
#ifdef __cplusplus
static
int
yyinput
()
static
int
yyinput
()
#else
#else
...
@@ -2797,7 +2796,7 @@ static int input()
...
@@ -2797,7 +2796,7 @@ static int input()
return
c
;
return
c
;
}
}
#endif
/* YY_NO_INPUT */
#ifdef YY_USE_PROTOS
#ifdef YY_USE_PROTOS
void
yyrestart
(
FILE
*
input_file
)
void
yyrestart
(
FILE
*
input_file
)
...
@@ -2908,6 +2907,11 @@ YY_BUFFER_STATE b;
...
@@ -2908,6 +2907,11 @@ YY_BUFFER_STATE b;
}
}
#ifndef YY_ALWAYS_INTERACTIVE
#ifndef YY_NEVER_INTERACTIVE
extern
int
isatty
YY_PROTO
((
int
));
#endif
#endif
#ifdef YY_USE_PROTOS
#ifdef YY_USE_PROTOS
void
yy_init_buffer
(
YY_BUFFER_STATE
b
,
FILE
*
file
)
void
yy_init_buffer
(
YY_BUFFER_STATE
b
,
FILE
*
file
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment