Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
fc5b4732
Commit
fc5b4732
authored
Aug 03, 2015
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Nitpicking
parent
2bb8ddef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
flint.lnt
flint.lnt
+1
-0
vmodtool.py
lib/libvcc/vmodtool.py
+2
-2
No files found.
flint.lnt
View file @
fc5b4732
...
...
@@ -51,6 +51,7 @@
-emacro(731, assert) // booelan arg to eq/non-eq
-emacro(731, xxxassert) // arg to eq/non-eq
-emacro(527, WRONG) // unreachable code
-emacro(774, VALID_OBJ) // boolean always true
///////////////////////////////////////////////////////////////////////
// <vsb.h>
...
...
lib/libvcc/vmodtool.py
View file @
fc5b4732
...
...
@@ -743,8 +743,8 @@ class FileSection(object):
if
re
.
match
(
"['
\"
]"
,
l
):
m
=
re
.
match
(
"(['
\"
]).*?(
\\
1)"
,
l
)
if
not
m
:
raise
FormatError
(
"Unbalanced quote"
,
"Unbalanced quote on line
%
d"
%
ln
)
raise
FormatError
(
"Unbalanced quote"
,
"Unbalanced quote on line
%
d"
%
ln
)
self
.
tl
.
append
(
Token
(
ln
,
0
,
l
[:
m
.
end
()]))
self
.
l
.
insert
(
0
,
(
ln
,
l
[
m
.
end
():]))
return
...
...
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