diff options
author | Karl Williamson <khw@cpan.org> | 2018-10-14 16:10:01 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2018-10-20 00:09:55 -0600 |
commit | a9f8f0e7ea8fdf2c9f0e78f6e01b9ef605907200 (patch) | |
tree | 07cb4569bd40110b14ac6180ed9511057ab3fffe /regcomp.c | |
parent | e3f47c2f4d2eacb0570803023a6dd9c010aac7f4 (diff) | |
download | perl-a9f8f0e7ea8fdf2c9f0e78f6e01b9ef605907200.tar.gz |
regcomp.c: Add some const's to static fcn
Since it's static, the compiler can figure out these are consts, but
knowing this helped me read the code
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -19322,8 +19322,8 @@ S_reg2Lanode(pTHX_ RExC_state_t *pRExC_state, const U8 op, const U32 arg1, const * ALSO NOTE - FLAGS(newly-inserted-operator) will be set to 0 as well. */ STATIC void -S_reginsert(pTHX_ RExC_state_t *pRExC_state, U8 op, - regnode_offset operand, U32 depth) +S_reginsert(pTHX_ RExC_state_t *pRExC_state, const U8 op, + const regnode_offset operand, const U32 depth) { regnode *src; regnode *dst; |