From d69e132ed543deb8d51f097b9adaba00dcd9769d Mon Sep 17 00:00:00 2001 From: Dmitry Boyarintsev <[email protected]> Date: Wed, 4 Mar 2020 09:23:14 -0500 git-svn-id: branches/wasm@46062 -
@@ -39,6 +39,8 @@ type
token : TWatToken;
resText : string;
asmCmd : string;
+
+ skipAsmSym : Boolean;
procedure SetSource(const abuf: string);
function Next: Boolean;
@@ -219,7 +221,7 @@ begin
// comment until the ;)
cmt := ScanToSubstr(buf, idx, ';)');
- if CommentIsSymbol(cmt) then begin
+ if not skipAsmSym and CommentIsSymbol(cmt) then begin
token:=weAsmSymbol;
done:=true;
end else