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
8d9597e1
Commit
8d9597e1
authored
Mar 06, 2013
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remember to mark VMOD object methods which return VOID as SYM_PROC
parent
e81bdb1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
vcc_action.c
lib/libvcl/vcc_action.c
+6
-0
No files found.
lib/libvcl/vcc_action.c
View file @
8d9597e1
...
...
@@ -231,10 +231,16 @@ parse_new(struct vcc *tl)
p
+=
strlen
(
s_obj
);
bprintf
(
buf2
,
"%s%s"
,
sy1
->
name
,
p
);
sy3
=
VCC_AddSymbolStr
(
tl
,
buf2
,
SYM_FUNC
);
AN
(
sy3
);
sy3
->
eval
=
vcc_Eval_SymFunc
;
p
+=
strlen
(
p
)
+
1
;
sy3
->
cfunc
=
p
;
p
+=
strlen
(
p
)
+
1
;
/* Functions which return VOID are procedures */
if
(
!
memcmp
(
p
,
"VOID
\0
"
,
5
))
sy3
->
kind
=
SYM_PROC
;
sy3
->
args
=
p
;
sy3
->
extra
=
TlDup
(
tl
,
buf1
);
while
(
p
[
0
]
!=
'\0'
||
p
[
1
]
!=
'\0'
)
...
...
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