Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
Rituals
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
William Bundy
Rituals
Commits
ceab5cb3
Commit
ceab5cb3
authored
Sep 30, 2016
by
William Bundy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rituals build 102
parent
e30771b2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
25 deletions
+25
-25
autogit.sh
autogit.sh
+1
-1
rev.txt
rev.txt
+2
-2
src/metaprogram/metaprogram_parser.cpp
src/metaprogram/metaprogram_parser.cpp
+22
-22
No files found.
autogit.sh
View file @
ceab5cb3
git add
--all
git commit
-m
"rituals build 10
1
"
git commit
-m
"rituals build 10
2
"
git push
git push github
rev.txt
View file @
ceab5cb3
10
0
1475270
298.210691
10
1
1475270
775.776723
src/metaprogram/metaprogram_parser.cpp
View file @
ceab5cb3
...
...
@@ -507,6 +507,28 @@ void parse_include_directive(Lexer* lex, Token* directive)
end_temp_arena
(
Temp_Arena
);
}
Token
*
parse_dollarsign_instructions
(
Token
*
t
)
{
if
(
t
->
kind
!=
Token_DollarSign
)
return
t
;
Token
*
next
=
t
->
next
->
next
;
Token
*
head
=
t
;
if
(
next
->
hash
==
hash_literal
(
"exclude"
))
{
do
{
if
(
next
->
kind
==
Token_DollarSign
)
{
Token
*
tk
=
next
->
next
->
next
;
if
(
tk
->
kind
==
Token_Identifier
)
{
if
(
tk
->
hash
==
hash_literal
(
"end"
))
{
head
=
tk
->
next
->
next
;
break
;
}
}
}
}
while
(
next
=
next
->
next
);
}
return
head
;
}
void
parse_tokens
(
Token
*
start
)
{
Token
*
head
=
start
;
...
...
@@ -647,28 +669,6 @@ struct Proc_Prototype
Proc_Prototype
*
next
;
};
Token
*
parse_dollarsign_instructions
(
Token
*
t
)
{
if
(
t
->
kind
!=
Token_DollarSign
)
return
t
;
Token
*
next
=
t
->
next
->
next
;
Token
*
head
=
t
;
if
(
next
->
hash
==
hash_literal
(
"exclude"
))
{
do
{
if
(
next
->
kind
==
Token_DollarSign
)
{
Token
*
tk
=
next
->
next
->
next
;
if
(
tk
->
kind
==
Token_Identifier
)
{
if
(
tk
->
hash
==
hash_literal
(
"end"
))
{
head
=
tk
->
next
->
next
;
break
;
}
}
}
}
while
(
next
=
next
->
next
);
}
return
head
;
}
void
parse_sing
(
Token
*
t
,
int32
brace_level
)
{
if
(
t
->
hash
==
hash_literal
(
"sing"
))
{
...
...
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