fixed some bugs, changed warning interface
This commit is contained in:
@@ -138,8 +138,9 @@ idf2expr(expr)
|
||||
if (def == 0) {
|
||||
if (AHEAD == '(') {
|
||||
/* function call, declare name IMPLICITly (3.3.2.2) */
|
||||
warning("implicit declaration of function %s"
|
||||
, idf->id_text);
|
||||
if (!options['o'])
|
||||
warning("implicit declaration of function %s"
|
||||
, idf->id_text);
|
||||
add_def(idf, IMPLICIT, funint_type, level);
|
||||
} else {
|
||||
if (!is_anon_idf(idf))
|
||||
|
||||
Reference in New Issue
Block a user