Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
compiler
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
16
Issues
16
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
clean-compiler-and-rts
compiler
Commits
8c44cc9d
Commit
8c44cc9d
authored
Jun 27, 2019
by
johnvg@science.ru.nl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove usage message from backend
parent
87e5a922
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
backendC/CleanCompilerSources/cocl.c
backendC/CleanCompilerSources/cocl.c
+0
-13
No files found.
backendC/CleanCompilerSources/cocl.c
View file @
8c44cc9d
...
...
@@ -12,16 +12,6 @@
FILE
*
std_out_file_p
,
*
std_error_file_p
;
#endif
static
char
usage
[]
=
"Usage:
\'
cocl [options] [-o file] file
\'\n
"
"Options: [-v] [-w] [-tc] [-d] [-sl] [-p] [-sa] [-lt] [-lset] [-lat] [-lattr]"
;
static
void
Usage
(
void
)
{
FPutS
(
usage
,
StdError
);
FPutC
(
'\n'
,
StdError
);
}
static
Bool
GetInt
(
char
*
s
,
int
*
i
)
{
int
j
;
...
...
@@ -203,7 +193,6 @@ Bool CallCompiler (int argc, char **argv)
else
if
(
strncmp
(
argv_i
,
"-sa"
,
3
)
==
0
){
if
(
!
SetStrictOption
(
argv
[
i
]
+
3
)){
CmdError
(
"unknown flag %s"
,
argv
[
i
]);
Usage
();
return
False
;
}
}
else
if
(
strcmp
(
argv_i
,
"-o"
)
==
0
){
...
...
@@ -294,7 +283,6 @@ Bool CallCompiler (int argc, char **argv)
}
}
else
{
CmdError
(
"unknown flag %s"
,
argv_i
);
Usage
();
return
False
;
}
}
else
{
...
...
@@ -336,7 +324,6 @@ Bool CallCompiler (int argc, char **argv)
return
True
;
}
else
{
CmdError
(
"no input file given"
);
Usage
();
return
False
;
}
}
...
...
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