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

Can't put curly brackets in DFB #38

Open
fadden opened this issue Mar 19, 2020 · 0 comments
Open

Can't put curly brackets in DFB #38

fadden opened this issue Mar 19, 2020 · 0 comments

Comments

@fadden
Copy link

fadden commented Mar 19, 2020

Problem exists in 1.0 and 1.1.1. Test input file:

;        org     $1000

        dfb     ','
        dfb     '}'

Output:

Merlin32_111 v1.1.1, (c) Brutal Deluxe 2011-2015
  + Assemble project files...
[...]
    o Build Data Line...
      => [Error] Impossible to build Data line 'dfb  '}'' (line 4, file 'Test.S') : Impossible to evaluate dfb Data ''}'' ('''' can't be translated as an ascii expression).

In EvalExpressionAsInteger(), removing if(expression_param[i] != '{' && expression_param[i] != '}') makes the problem go away. But I don't know what other effects that has.

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