Giter Club home page Giter Club logo

Comments (4)

fidergo-stephane-gourichon avatar fidergo-stephane-gourichon commented on August 25, 2024

Hi rgiot!

Summary: not reproduced here

To reproduce the error, I just pasted your sample into a file named x.asm and ran rasm x.asm. Result:

Pre-processing [x.asm]
Assembling
Warning: Not a single byte to output

No error.

If I add at the end of the file

		include 'fail.asm'

I correctly get an error

[x.asm:9] file not found [./fail.asm]

Here running

RASM v0.119 (build xx/12/2019) (c) 2017 Edouard BERGE (use -n option to display all licenses)

Next step

Can you double check your setup?
Also, please tell your RASM version, OS and other relevant informations.
Thanks!

from rasm.

EdouardBERGE avatar EdouardBERGE commented on August 25, 2024

Oui le code à l'intérieur d'un IF 0 est analysé, il doit être correct (même si je tolère que les fichiers ne soit pas présent)

Pour désactiver du code, c'est comme en C => utilisation des commentaires

ouuuuups, missing english translation

code inside IF 0 is analysed, he must be almost OK, even i allow include with missing files

that's because IF ENDIF is done after pre-processing

from rasm.

rgiot avatar rgiot commented on August 25, 2024

@fidergo-stephane-gourichon using the exactly same procedure than you, I obtain the error.

cat x.asm && rasm x.asm && rasm --version
USE_EXO = 0
	IF USE_EXO
		ld de, CURRENT_LEVEL_UNCRUNCH_ZONE
		call deexo
		ret
		include 'fake.asm'
deexo Mizoumizeur (void)
	endif

Pre-processing [x.asm]
[x.asm:6] Cannot include file [./fake.asm]
Assembling
1 error
RASM v1.2 nightly (build xx/07/2020) (c) 2017 Edouard BERGE (use -n option to display all licenses / -autotest for self-testing)

@EdouardBERGE ah ok this is an implementation choice. However, I think it is a strong limitation. It should be interesting to put in the documentation. So I close this issue. Thx

from rasm.

cpcitor avatar cpcitor commented on August 25, 2024

@fidergo-stephane-gourichon using the exactly same procedure than you, I obtain the error.

Thanks for notifying. My rasm was simply older than the bug. I confirmed bug is solved (from 8476239 on).

from rasm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.