Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
Commits
6a9d2f2f
Commit
6a9d2f2f
authored
Oct 17, 2012
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Emit a regular error, rather than a VCC assert.
Found & Fixed by: Federico G. Schwindt Fixes #1212
parent
a69baba8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vcc_expr.c
lib/libvcl/vcc_expr.c
+2
-1
No files found.
lib/libvcl/vcc_expr.c
View file @
6a9d2f2f
...
...
@@ -529,6 +529,7 @@ void
vcc_Eval_Func
(
struct
vcc
*
tl
,
struct
expr
**
e
,
const
struct
symbol
*
sym
)
{
const
char
*
p
,
*
r
;
const
struct
var
*
v
;
struct
expr
*
e1
,
*
e2
;
enum
var_type
fmt
;
char
buf
[
32
];
...
...
@@ -581,7 +582,7 @@ vcc_Eval_Func(struct vcc *tl, struct expr **e, const struct symbol *sym)
if
(
*
p
!=
'\0'
)
SkipToken
(
tl
,
','
);
}
else
if
(
fmt
==
HEADER
)
{
const
struct
var
*
v
;
ExpectErr
(
tl
,
ID
)
;
sym
=
VCC_FindSymbol
(
tl
,
tl
->
t
,
SYM_NONE
);
ERRCHK
(
tl
);
SkipToken
(
tl
,
ID
);
...
...
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