diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-11-05 01:36:53 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-11-05 01:36:53 -0500 |
commit | 13d2d1973638e263814c94aacc5f0cb094d92a35 (patch) | |
tree | faf9292d06bd890704bdd5f1f07a164569cb8e56 /dimension/parse.h | |
parent | 41da11a59c3095c19bbca605f8421304998b46ab (diff) | |
download | dimension-13d2d1973638e263814c94aacc5f0cb094d92a35.tar.xz |
Add file, line, and column information to astnodes.
Diffstat (limited to 'dimension/parse.h')
-rw-r--r-- | dimension/parse.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dimension/parse.h b/dimension/parse.h index d4420fa..2dd31be 100644 --- a/dimension/parse.h +++ b/dimension/parse.h @@ -42,6 +42,10 @@ struct dmnsn_astnode { /* Generic data pointer */ void *ptr; + + /* File name, and line and column numbers from source code */ + char *filename; + unsigned int line, col; }; /* The workhorse */ |