aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2012-04-27 14:04:11 +0000
committerDimitri Sokolyuk <demon@dim13.org>2012-04-27 14:04:11 +0000
commit46e81657b7585848fde93a4b8217358a1ae42082 (patch)
treedf2d075134ae278e9b580d8309cfd63da12760c0
parent392dfa314ed0704db08fec01014e4e2cbd6e1720 (diff)
rename noop -> noarg
-rw-r--r--gramar.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/gramar.y b/gramar.y
index 7580ff8..b78671c 100644
--- a/gramar.y
+++ b/gramar.y
@@ -76,7 +76,7 @@ struct label {
%token <ival> NUMBER
%token <sval> STRING QSTRING
-%type <ival> register opcode operand expr extended noop
+%type <ival> register opcode operand expr extended noarg
%left EOR
%left EXOR
@@ -104,7 +104,7 @@ statement
popop(($2 << 10) | ($1 << 5));
popallr();
}
- | noop { popop($1 << 5); }
+ | noarg { popop($1 << 5); }
| DP STRING { addref($2); }
| DAT data { popall(); }
| ORG expr { pc = $2; }
@@ -255,7 +255,7 @@ extended
| HWI { $$ = 0x12; }
;
-noop
+noarg
: NOP { $$ = 0x00; }
| BRK { $$ = 0x02; }
;