News:

Free Image Hosting:
http://image-host.developers-heaven.net
Share your images free!!!

Main Menu

Problem in os.hhf

Started by hide2may, November 20, 2008, 09:51:17 AM

Previous topic - Next topic

hide2may

Hi there,

I'm learning HLA using David's tutorial:-
http://docs.google.com/View?docID=d674v6b_21hfm8nm&revision=_latest&pli=1

The last program "testRandom" in chapter 06 doesn't seem to get compiled.
The message is as follows:-

   I:\projects\chap06>hla testRandom.hla
   Error in file "os.hhf" at line 5 [errid:107961/hlaparse.c]:
   syntax error, unexpected namespaceTkn, expecting DoOneValStmt.
   Near: << namespace >>

   os.hhf [4]:
   error: illegal instruction.

It sounds like the error is in "os.hhf", and
the first few lines of os.hhf reads:-

   #if( ! @define( os_hhf ))
   ?os_hhf := true;

   namespace os;

Any kind soul help me to tackle the problem?

Thanks in advance ^^

David

Shalom h2m,

The program compiles for me and works as expected ok here ....

HLA (High Level Assembler - FASM back end, POLINK linker) Version 1.104 build 20477 (prototype)

But ... it would NOT compile here ... HIDE Version 1.32.02 ( the newest HIDE IDE, with HLA included )

The program has always worked just fine for me, until I now just tried it in the latest HIDE as per above ... where it would not compile (It did compile fine ... from my previous HIDE IDE).

The problem seems to have been introduced in the recent HIDE compile.

So ... please just use HLA.exe to compile ... or use an older version of the HIDE IDE.

Please let me know if this helps.

Shalom shalom,

David

hide2may

Sorry all Masters of HLA,

The problem was caused by my missing the leading line:-

    program testRandom;

~~8~
Your SS (Stupid Student),
-hide2may

admin

Thanks David for your help.

Don't worry hide2may all may forget  :)

David

#4
QuoteThe problem was caused by my missing the leading line:-

Glad you found the cause ...

Your serendipity led to finding a real bug in the recent HIDE compile of HLA that might have otherwise gone undetected.

Great detective work ... Sherlock  ;)