Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lyskom-server-ceder-1616-generations-topgit
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
ea425a30
Commit
ea425a30
authored
Jan 01, 2002
by
Per Cederqvist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(lexer.__init__): Load "privbits.tmp".
(lexer.toplevel_bye): Check Priv-Bits. (Bug 207).
parent
7ec6f0a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
doc/checkargs.py
doc/checkargs.py
+12
-0
No files found.
doc/checkargs.py
View file @
ea425a30
...
...
@@ -302,6 +302,13 @@ class lexer:
self
.
__implemented_conftypes
[
name
]
=
nr
f
.
close
()
self
.
__implemented_privbits
=
{}
f
=
open
(
"privbits.tmp"
,
"r"
)
for
line
in
f
.
readlines
():
name
=
line
.
strip
()
self
.
__implemented_privbits
[
name
]
=
nr
f
.
close
()
def
run
(
self
):
while
1
:
c
=
self
.
__reader
.
getc
()
...
...
@@ -649,6 +656,11 @@ class lexer:
self
.
error
(
self
.
__reader
.
line_no
(),
emsg
)
for
emsg
in
defined_types
[
'Priv-Bits'
].
check_implemented
(
"conference type"
,
self
.
__implemented_privbits
):
self
.
error
(
self
.
__reader
.
line_no
(),
emsg
)
self
.
__reader
.
check_paren_null
()
# This is the normal exit of the program. It isn't nice to hide
...
...
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