|
|
1. Add a flag or atribute to the `Pragma` node in `ast.xml`
|
|
|
2. Adjust the `handle_pagma` function in `parser.c` to handle your pragma.
|
|
|
3. *Optional:* Add a new call to handle pragma somewhere in the parser. You should probably extend the `pragma_type` enum if you do this.
|
|
|
4. Adjust the `PRTpragma` function in `print.c`
|
|
|
5. Actually use your pragma.
|
|
|
|
|
|
If you add pragma to a new node eactually add a Pragma son to that node instead of reading out the parsed Pragma node, taking what you need and freeing it. |