Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs24-23fa
project02b
Commits
24589695
Commit
24589695
authored
4 years ago
by
Caleb C. Sander
Browse files
Options
Download
Email Patches
Plain Diff
Use inttypes.h
parent
044e42a0
master
No related merge requests found
Pipeline
#89300
failed with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/ast.h
+1
-1
include/ast.h
runtime/timing.c
+1
-1
runtime/timing.c
with
2 additions
and
2 deletions
+2
-2
include/ast.h
View file @
24589695
...
...
@@ -7,8 +7,8 @@
* The AST is a recursive data structure consisting of several types of "nodes".
*/
#include <inttypes.h>
#include <stddef.h>
#include <stdint.h>
/** The types of AST nodes */
typedef
enum
{
NUM
,
BINARY_OP
,
VAR
,
SEQUENCE
,
PRINT
,
LET
,
IF
,
WHILE
}
node_type_t
;
...
...
This diff is collapsed.
Click to expand it.
runtime/timing.c
View file @
24589695
#include <assert.h>
#include <inttypes.h>
#include <math.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help