Remove error message if old 'reference' keyword is used.
This commit is contained in:
3
lex.ll
3
lex.ll
@@ -372,9 +372,6 @@ launch { RT; return TOKEN_LAUNCH; }
|
|||||||
new { RT; return TOKEN_NEW; }
|
new { RT; return TOKEN_NEW; }
|
||||||
NULL { RT; return TOKEN_NULL; }
|
NULL { RT; return TOKEN_NULL; }
|
||||||
print { RT; return TOKEN_PRINT; }
|
print { RT; return TOKEN_PRINT; }
|
||||||
reference { Error(yylloc, "\"reference\" qualifier is no longer supported; "
|
|
||||||
"please use C++-style '&' syntax for references "
|
|
||||||
"instead."); }
|
|
||||||
return { RT; return TOKEN_RETURN; }
|
return { RT; return TOKEN_RETURN; }
|
||||||
soa { RT; return TOKEN_SOA; }
|
soa { RT; return TOKEN_SOA; }
|
||||||
signed { RT; return TOKEN_SIGNED; }
|
signed { RT; return TOKEN_SIGNED; }
|
||||||
|
|||||||
Reference in New Issue
Block a user