Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pdf
Manage
Activity
Members
Labels
Plan
Issues
26
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sven M. Hallberg
pdf
Commits
4a574dba
Commit
4a574dba
authored
5 years ago
by
Sven M. Hallberg
Browse files
Options
Downloads
Patches
Plain Diff
condense hexstrings to TT_BYTES
parent
c357f069
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pdf.c
+3
-3
3 additions, 3 deletions
pdf.c
with
3 additions
and
3 deletions
pdf.c
+
3
−
3
View file @
4a574dba
...
@@ -142,7 +142,7 @@ act_nesc(const HParseResult *p, void *u)
...
@@ -142,7 +142,7 @@ act_nesc(const HParseResult *p, void *u)
}
}
#define act_schars h_act_flatten
#define act_schars h_act_flatten
#define act_
lit
str act_token
#define act_str
ing
act_token
HParsedToken
*
HParsedToken
*
act_octal
(
const
HParseResult
*
p
,
void
*
u
)
act_octal
(
const
HParseResult
*
p
,
void
*
u
)
...
@@ -265,10 +265,10 @@ init_parser(void)
...
@@ -265,10 +265,10 @@ init_parser(void)
/* NB: lone backslashes and escaped newlines are ignored */
/* NB: lone backslashes and escaped newlines are ignored */
H_ARULE
(
schars
,
h_many
(
CHX
(
schar
,
snest
,
sesc
,
eol
)));
H_ARULE
(
schars
,
h_many
(
CHX
(
schar
,
snest
,
sesc
,
eol
)));
H_RULE
(
snest_
,
SEQ
(
lparen
,
schars
,
rparen
));
H_RULE
(
snest_
,
SEQ
(
lparen
,
schars
,
rparen
));
H_
A
RULE
(
litstr
,
h_middle
(
TOKD
(
lparen
),
schars
,
rparen
));
H_RULE
(
litstr
,
h_middle
(
TOKD
(
lparen
),
schars
,
rparen
));
H_RULE
(
hexchr
,
h_right
(
ws
,
hdigit
));
H_RULE
(
hexchr
,
h_right
(
ws
,
hdigit
));
H_RULE
(
hexstr
,
h_middle
(
TOKD
(
langle
),
h_many
(
hexchr
),
TOKD
(
rangle
)));
H_RULE
(
hexstr
,
h_middle
(
TOKD
(
langle
),
h_many
(
hexchr
),
TOKD
(
rangle
)));
H_RULE
(
string
,
CHX
(
litstr
,
hexstr
));
H_
A
RULE
(
string
,
CHX
(
litstr
,
hexstr
));
h_bind_indirect
(
snest
,
snest_
);
h_bind_indirect
(
snest
,
snest_
);
/* arrays and dictionaries */
/* arrays and dictionaries */
...
...
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