// if (token > TokenNameKEYWORD && token != TokenNamelist && token != TokenNamenew) {
// char[] ident = scanner.getCurrentIdentifierSource();
// String keyword = new String(ident);
+ if (token == TokenNameAT) {
+ getNextToken();
+ if (token != TokenNamerequire
+ && token != TokenNamerequire_once
+ && token != TokenNameinclude
+ && token != TokenNameinclude_once
+ && token != TokenNameIdentifier
+ && token != TokenNameVariable
+ && token != TokenNamethis
+ && token != TokenNameStringInterpolated) {
+ throwSyntaxError("identifier expected after '@'.");
+ }
+ }
if (token == TokenNameinclude || token == TokenNameinclude_once) {
getNextToken();
if (token == TokenNameLPAREN) {