Skip to content

Bugfix/p read#181

Merged
boriel merged 11 commits intomasterfrom
bugfix/p_read
Nov 16, 2018
Merged

Bugfix/p read#181
boriel merged 11 commits intomasterfrom
bugfix/p_read

Conversation

@boriel
Copy link
Copy Markdown
Collaborator

@boriel boriel commented Nov 16, 2018

No description provided.

boriel added 11 commits October 21, 2018 17:51
This cmd line option allows the compiler to
parse and analyze the source code without emitting
any code.
This will allow to invoke zxb with --org=0xC000 for example.
Feature/base org hexa

Approved-by: Jose Rodriguez <boriel@gmail.com>
Defining a var like DIM p = @A(3, 4) being var a an
array crashed the compiler. Fixed.
This one checks the array element position is correctly
computed (chained multiplication).
The flag --debug-array emited wrong code.
The Array calculation routine has been optimized (a little) and
now does the check correctly.

Also de translator was not correctly emiting the IC.
Note that both #pragma and #define must be used since
the array checking requires such define that might not be
declared at the beginning.
Bugfix/const arr crash

Approved-by: Jose Rodriguez <boriel@gmail.com>
Parsing some READ sentences with semantic errors crashed the
compiler. Fixed.
@boriel boriel merged commit 9eb42cc into master Nov 16, 2018
@boriel boriel deleted the bugfix/p_read branch November 16, 2018 23:14
boriel added a commit that referenced this pull request Nov 18, 2018
bugfix: read crash

Approved-by: Jose Rodriguez <boriel@gmail.com>
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

Successfully merging this pull request may close these issues.

1 participant