Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assembler.ini - CodeBlock comment crash #3

Open
mrfearless opened this issue Feb 26, 2017 · 1 comment
Open

Assembler.ini - CodeBlock comment crash #3

mrfearless opened this issue Feb 26, 2017 · 1 comment

Comments

@mrfearless
Copy link
Owner

Issue:

Something that I've been aware of for a long time and knew that it was causing crashes.

Start typing comment after a single line comment, denoted by the semi-colon ; causes RadASM to crash sometimes with just the comm... part typed and you have to edit the source file in an external text editor to remove the comment and possible corrupted characters inserted at the position of 'comment' (approx)

Example:

Invoke SomeFunction, Param1    ; here is my comm...

As you start typing 'here is my comment' RadASM can sometimes crash.

Solution:

Comment out the line in the codeblock section of the Assembler.ini (masm.ini, tasm.ini etc) by prefixing the line with a ; character.

[CodeBlock] 
;15=comment,,,,32

Have begun to update the default ini files to comment this out. Will leave this issue open so others will see it as well, for the moment.

@blue-devil
Copy link
Contributor

Hello @mrfearless
Unfortunately i cannot replicate this problem :/

Here is my CodeBlock section on MASM64.ini

[CodeBlock]
1=$ proc,? endp,,,6
2=.if,.endif,.elseif,.else,0
3=.while,.endw,.break,.continue,0
4=
;;switch,endsw,case,default,0
5=? struct|? struc|? union,? ends,,,2
6=$ macro,endm,,,14
7=.code,,,,16
8=.data,,,,16
9=.data?,,,,16
10=.const,,,,16
11=BEGIN,END,,,0,1
12=Method,MethodEnd,,,6
13=Object,ObjectEnd,,,4
14=;##\,;##/,,,4
15=comment,,,,32
16=.repeat,.until|.untilcxz,.break,.continue,0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants