[PR #479] [MERGED] hw_oracle/asm: strip leading whitespace in literals() and skip_reason() #529

Closed
opened 2026-11-26 20:18:11 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/479
Author: @kotekompotek
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @QemmHD

Base: main ← Head: work/hw-oracle-asm-strip-lines


📝 Commits (1)

  • 0b2d839 hw_oracle/asm: strip leading whitespace in literals() and skip_reason()

📊 Changes

2 files changed (+30 additions, -3 deletions)

View changed files

➕ tests/test_hw_oracle_asm_strip.py (+26 -0)
📝 tools/hw_oracle/asm.py (+4 -3)

📄 Description

Strips leading/trailing whitespace before parsing opcodes in literals() and skip_reason() so indented SALU lines are checked. Verified with pytest: 1 passed.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/479 **Author:** [@kotekompotek](https://github.com/kotekompotek) **Created:** 11/24/2026 **Status:** ✅ Merged **Merged:** 11/24/2026 **Merged by:** [@QemmHD](https://github.com/QemmHD) **Base:** `main` ← **Head:** `work/hw-oracle-asm-strip-lines` --- ### 📝 Commits (1) - [`0b2d839`](https://github.com/ubiquitarianism/leonida/commit/0b2d8399d199445f6c5d7af52670be0d0c23c323) hw_oracle/asm: strip leading whitespace in literals() and skip_reason() ### 📊 Changes **2 files changed** (+30 additions, -3 deletions) <details> <summary>View changed files</summary> ➕ `tests/test_hw_oracle_asm_strip.py` (+26 -0) 📝 `tools/hw_oracle/asm.py` (+4 -3) </details> ### 📄 Description Strips leading/trailing whitespace before parsing opcodes in literals() and skip_reason() so indented SALU lines are checked. Verified with pytest: 1 passed. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:18:11 +01:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#529
No description provided.