Merge branch 'master' into feature_asm_expr

This commit is contained in:
VVWVV 2017-08-01 22:36:34 +03:00
commit fc9e3f785d
2 changed files with 14 additions and 1 deletions

View File

@ -13,6 +13,18 @@ What is this?
This is a modified copy of the Pawn compiler version 3.2.3664 by Compuphase that
fixes some bugs and adds a few features.
Installation on openSUSE/SLES
---------------------
There is an installation package available for openSUSE/SLES users so that you can easily install the compiler on your distribution. Please follow these steps:
1. Go to https://build.opensuse.org/package/show/home:mschnitzer/pawncc
2. On the right side, select your distribution (only if it's not disabled!)
3. Click "Go to download repository"
4. Copy the link and enter in sudo mode in your shell: `zypper ar $COPIED_LINK home:mschnitzer`
5. Again as root, type: `zypper ref`
6. Install the package with `zypper in pawncc`
7. Run `pawncc` in your shell to test if it's working
Changes
-------

View File

@ -1330,7 +1330,8 @@ static int command(void)
/* mark function as "used" */
/* do NOT mark it as written as that has a different meaning for
* functions (marks them as "should return a value") */
markusage(sym,uREAD);
if (sc_status!=statSKIP)
markusage(sym,uREAD);
} else {
outval(sym->addr,FALSE);
/* mark symbol as "used", unknown whether for read or write */