Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
libcifpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
libcifpp
Commits
94a38ad4
Commit
94a38ad4
authored
Jun 06, 2023
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of github.com:PDB-REDO/libcifpp into develop
parents
20ef79a1
92bf2547
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
132 deletions
+18
-132
include/cif++/parser.hpp
+3
-8
src/parser.cpp
+15
-121
src/utilities.cpp
+0
-1
test/unit-v2-test.cpp
+0
-2
No files found.
include/cif++/parser.hpp
View file @
94a38ad4
...
@@ -29,7 +29,6 @@
...
@@ -29,7 +29,6 @@
#include "cif++/row.hpp"
#include "cif++/row.hpp"
#include <map>
#include <map>
#include <regex>
namespace
cif
namespace
cif
{
{
...
@@ -214,18 +213,14 @@ class sac_parser
...
@@ -214,18 +213,14 @@ class sac_parser
std
::
streambuf
&
m_source
;
std
::
streambuf
&
m_source
;
// Parser state
// Parser state
bool
m_validate
;
uint32_t
m_line_nr
;
uint32_t
m_line_nr
;
bool
m_bol
;
bool
m_bol
;
CIFToken
m_lookahead
;
CIFToken
m_lookahead
;
// std::string m_token_value;
// CIFValue mTokenType;
// std::vector<int> m_buffer; // retract buffer, used to be a stack<char>
static
constexpr
size_t
kBufferSize
=
128
;
static
constexpr
size_t
k
Retract
BufferSize
=
128
;
int
m_
buffer
[
k
BufferSize
];
int
m_
retract_buffer
[
kRetract
BufferSize
];
int
*
m_
buffer_ptr
=
m
_buffer
;
int
*
m_
retract_buffer_ptr
=
m_retract
_buffer
;
// token buffer
// token buffer
std
::
vector
<
char
>
m_token_buffer
;
std
::
vector
<
char
>
m_token_buffer
;
...
...
src/parser.cpp
View file @
94a38ad4
This diff is collapsed.
Click to expand it.
src/utilities.cpp
View file @
94a38ad4
...
@@ -40,7 +40,6 @@
...
@@ -40,7 +40,6 @@
#include <iostream>
#include <iostream>
#include <map>
#include <map>
#include <mutex>
#include <mutex>
#include <regex>
#include <sstream>
#include <sstream>
#include <thread>
#include <thread>
...
...
test/unit-v2-test.cpp
View file @
94a38ad4
...
@@ -2357,8 +2357,6 @@ _test.text ??
...
@@ -2357,8 +2357,6 @@ _test.text ??
BOOST_AUTO_TEST_CASE
(
output_test_1
)
BOOST_AUTO_TEST_CASE
(
output_test_1
)
{
{
cif
::
VERBOSE
=
5
;
auto
data1
=
R"(
auto
data1
=
R"(
data_Q
data_Q
loop_
loop_
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment