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

64Spec Is Not Compiling with KA > 4.6 #2

Closed
paulhocker opened this issue Jul 18, 2017 · 1 comment
Closed

64Spec Is Not Compiling with KA > 4.6 #2

paulhocker opened this issue Jul 18, 2017 · 1 comment

Comments

@paulhocker
Copy link

Not sure if it is the newer versions of KA causing the issue, but many of the functions are not compiling due to the face that there are no VALUES on the .return clause. Main culprit seems to be in the function config_64spec.

I don't think that KA has a requirement for a value to be returned from a function?

Here is a sample of a compile from KA 4.8

Do you think I should open a error with Mads on KA?

> kickass 64spec.asm
//------------------------------------------------------
//------------------------------------------------------
//          Kick Assembler v4.8 by Mads Nielsen
//------------------------------------------------------
//------------------------------------------------------
parsing
Got 322 errors while parsing:
  (C:\Development\Workspace\6502\kickass-vscode-testing\64spec.asm 157:68) Syntax error
  (C:\Development\Workspace\6502\kickass-vscode-testing\64spec.asm 157:3) If without body
  (C:\Development\Workspace\6502\kickass-vscode-testing\64spec.asm 158:86) Syntax error
  (C:\Development\Workspace\6502\kickass-vscode-testing\64spec.asm 158:3) If without body
  (C:\Development\Workspace\6502\kickass-vscode-testing\64spec.asm 159:73) Syntax error
  ...

.eval _64SPEC.set("_use_custom_assertion_failed_subroutine", false)

.function config_64spec(key, value) {
  .if (validate_boolean_option("print_header", key, value)) .return
                                                                   ^

Error: Syntax error
at line 157, column 68 in 64spec.asm
@paulhocker
Copy link
Author

I apologize. I did not realize that 0.7.0 fixed this issue. Works perfectly.

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

No branches or pull requests

1 participant