Skip to content
Snippets Groups Projects
Commit c8525941 authored by Botond Baranyi's avatar Botond Baranyi
Browse files

Changed 'UNIVERSAL tagclass' warning to note (bug 513749)


Change-Id: Iae0fe620c690f1ffa09b2a1eb6a644100d03db5e
Signed-off-by: default avatarBotond Baranyi <botond.baranyi@ericsson.com>
parent a17d2979
No related branches found
No related tags found
No related merge requests found
......@@ -94,6 +94,12 @@ void yywarning(const char *s)
loc.warning("%s", s);
}
void yynote(const char *s)
{
Location loc(asn1_infile, plineno);
loc.note("%s", s);
}
#endif /* YYBISON */
%}
......@@ -1269,7 +1275,7 @@ Class:
{
$$=Tag::TAG_UNIVERSAL;
if(!asn1_yy_parse_internal)
yywarning("Using of UNIVERSAL tagclass is not recommended.");
yynote("Usage of UNIVERSAL tagclass is not recommended.");
}
| KW_APPLICATION {$$=Tag::TAG_APPLICATION;}
| KW_PRIVATE {$$=Tag::TAG_PRIVATE;}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment