Skip to content
Browse files

fix ARGMOD on a function

git-svn-id: https://svn.parrot.org/parrot/trunk@45151 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information...
1 parent 96d580c commit 67a2b5a4a86807f36f586055933798b2b33bbb87 @petdance petdance committed
Showing with 5 additions and 4 deletions.
  1. +5 −4 src/pirsymbol.c
View
9 src/pirsymbol.c
@@ -73,10 +73,11 @@ static local_label * new_local_label(
PARROT_WARN_UNUSED_RESULT
PARROT_CANNOT_RETURN_NULL
static pir_reg * new_pir_reg(
- ARGIN(lexer_state * const lexer),
+ ARGMOD(lexer_state *lexer),
pir_type type,
int regno)
- __attribute__nonnull__(1);
+ __attribute__nonnull__(1)
+ FUNC_MODIFIES(*lexer);
static int next_register(ARGIN(lexer_state * const lexer), pir_type type)
__attribute__nonnull__(1);
@@ -439,8 +440,8 @@ find_symbol(ARGMOD(lexer_state *lexer), ARGIN(const char *name))
/*
-=item C<static pir_reg * new_pir_reg(lexer_state *lexer, pir_type type,
-int regno)>
+=item C<static pir_reg * new_pir_reg(lexer_state *lexer, pir_type type, int
+regno)>
Create a new PIR register node representing PIR/symbolic register
identified by C<regno> and of type C<type>.

0 comments on commit 67a2b5a

Please sign in to comment.
Something went wrong with that request. Please try again.