diff options
Diffstat (limited to 'source3/aparser/token.awk')
-rw-r--r-- | source3/aparser/token.awk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/aparser/token.awk b/source3/aparser/token.awk index 9920de562b..25ac06f6e3 100644 --- a/source3/aparser/token.awk +++ b/source3/aparser/token.awk @@ -34,6 +34,11 @@ function parse_error(msg) { {if (module=="") parse_error("you must specify the module name first");} +/^[ \t]*option/ { + set_option($2, $3); + next; +} + /^[ \t]*typedef struct.*\{/ { {if (current_struct!="") parse_error("you cannot have nested structures");} start_struct($3); |