Skip to content

Commit d934f0c

Browse files
committed
Merge branch 'test/spin_interface'; adds a (so far unused) %interface keyword to Spin2
2 parents f631337 + 468bd06 commit d934f0c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

frontends/lexer.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2103,6 +2103,7 @@ struct reservedword {
21032103
{ "%if", SP_ASM_IF },
21042104
{ "if", SP_IF },
21052105
{ "ifnot", SP_IFNOT },
2106+
{ "%interface", SP_INTERFACE },
21062107

21072108
{ "long", SP_LONG },
21082109
{ "lookdown", SP_LOOKDOWN },

frontends/spin/spin.y

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ FixupList(AST *list)
163163
%token SP_PUB "PUB"
164164
%token SP_PRI "PRI"
165165
%token SP_OBJ "OBJ"
166+
%token SP_INTERFACE "%INTERFACE"
166167
%token SP_ASM "ASM"
167168
%token SP_ASM_CONST "ASM_CONST"
168169
%token SP_ENDASM "ENDASM"

0 commit comments

Comments
 (0)