mirror of
https://github.com/pfusik/xasm.git
synced 2024-12-27 02:29:53 +00:00
Warn about a comment starting with a comma.
This commit is contained in:
parent
95136d1546
commit
7a666799ac
@ -367,6 +367,11 @@ void checkNoExtraCharacters() {
|
||||
switch (line[column]) {
|
||||
case '\t':
|
||||
case ' ':
|
||||
if (pass2) {
|
||||
readSpaces();
|
||||
if (!eol() && line[column] == ',')
|
||||
warning("Comment starts with a comma. Unintended whitespace?");
|
||||
}
|
||||
return;
|
||||
default:
|
||||
throw new AssemblyError("Extra characters on line");
|
||||
|
Loading…
Reference in New Issue
Block a user