Remove .linenumber and .filename; use hol0 and hol0+4.

We need this because some .e files in lang/ are using 'loe 0' and 'lae
4' to load the line number from hol0 and filename from hol0+4.
This commit is contained in:
George Koehler 2016-09-30 13:40:36 -04:00
parent b427d33f9f
commit ce5faba919
2 changed files with 3 additions and 7 deletions

View file

@ -1893,16 +1893,16 @@ PATTERNS
pat fil /* Set current filename */
leaving
lae $1
ste ".filename"
ste "hol0+4"
pat lin /* Set current line number */
leaving
loc $1
ste ".linenumber"
ste "hol0"
pat lni /* Increment line number */
leaving
ine ".linenumber"
ine "hol0"
pat lim /* Load EM trap ignore mask */
leaving

View file

@ -57,7 +57,3 @@ begtext:
.define .trppc, .ignmask
.comm .trppc, 4 ! ptr to user trap handler
.comm .ignmask, 4 ! user trap ignore mask
.define .linenumber, .filename
.comm .linenumber, 4 ! current linenumber (used for debugging)
.comm .filename, 4 ! ptr to current filename (used for debugging)