This commit fixes a lexical eror when a preprocessor directive is
followed by a single line comment that starts with "//*".
The following code could not be tokenized:
#define LSTFVLES_CPP //*
It triggers the following error:
net.sourceforge.pmd.lang.ast.TokenMgrError: Lexical error in file
'foo.cpp' at line 2, column 0. Encountered: <EOF> after : ""
This commit fixes a lexical error when a C++ file contains ASM with the
'@' character. The following code cannot be tokenized and triggers a
lexical error:
asm void eSPI_boot()
{
// setup stack pointer
lis r1, _stack_addr@h
ori r1, r1, _stack_addr@l
}
The error that occurs:
net.sourceforge.pmd.lang.ast.TokenMgrError: Lexical error in file
CODE_LOADED_FROM_STRING at line 4, column 22. Encountered: "@" (64),
after : ""