Commit Graph

25 Commits

Author SHA1 Message Date
Roberto Raggi
c6653f43b7 Fix possible crash when parsing layout qualifiers nodes.
Task-number: QTCREATORBUG-4563
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
2011-04-18 11:17:27 +02:00
hjk
8397663964 Update license. 2011-04-13 11:49:28 +02:00
Erik Verbruggen
d6217a07ff Fixed (C)opyright headers. 2011-02-21 12:41:30 +01:00
hjk
57eae3191e s:// end of namespace :// namespace :g for consistency
We use the latter style everywhere else to signify the end of a namespace block.
2011-02-04 12:45:32 +01:00
con
d1023c7614 It's 2011 now.
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
con
23c22b7c66 License headers, part 2 2010-12-17 17:14:20 +01:00
Roberto Raggi
cf793418c3 Handle logical xor. 2010-11-30 16:10:27 +01:00
Roberto Raggi
55234b9d16 Implemented some basic code completion. 2010-11-29 18:06:21 +01:00
Roberto Raggi
90bf956cc1 Simple error recovery.
Well, it's not very advanced but it is probably good enough for now.
2010-11-29 09:56:26 +01:00
Rhys Weatherley
c173959f89 Remove type categories from the GLSL AST
Type categories are now handled at semantic analysis time
so we don't need to track them at syntax analysis time.
2010-11-29 13:04:54 +10:00
Roberto Raggi
f29924308f Added Engine::blockDiagnosticMessages() 2010-11-26 14:26:07 +01:00
Roberto Raggi
864c3bfc98 Added the suffix AST to the ast nodes and some initial work on the GLSL type system. 2010-11-25 12:56:16 +01:00
Rhys Weatherley
7ccc6fc7f7 Highlight reserved GLSL keywords 2010-11-23 17:05:55 +10:00
Roberto Raggi
131df3c3d0 Report the syntax errors. 2010-11-19 14:59:33 +01:00
Rhys Weatherley
2d4e75101e Use QString instead of std::string in GLSL parser 2010-11-18 17:40:09 +10:00
Rhys Weatherley
2fab4ba8ad GLSL AST nodes for function and struct decls 2010-11-18 13:36:50 +10:00
Rhys Weatherley
a666c48cf5 Variable and parameter declarations for GLSL 2010-11-17 15:23:13 +10:00
Rhys Weatherley
443be8eea6 Create AST nodes for qualified GLSL types 2010-11-15 15:02:21 +10:00
Rhys Weatherley
1f8f99df28 Build AST nodes from within the parser. 2010-11-12 14:04:09 +10:00
Rhys Weatherley
73f77a0b8e Making GLSL AST nodes while preserving lineno info
Eventually we will need some way to locate an identifier's
definition, so add "lineno" to each AST node.  May want to
change this to "position" later.  The makeAstNode<T>() function
takes care of automatically decorating nodes with line numbers.
2010-11-12 09:57:05 +10:00
Roberto Raggi
b311703234 Create AST nodes for multiplicative expressions. 2010-11-11 15:25:19 +01:00
Roberto Raggi
53218ff7c7 Introduced a simple memory pool. 2010-11-11 15:07:30 +01:00
Roberto Raggi
ca4439bcef Get rid of glsl.g.in and start working on the semantic actions. 2010-11-11 12:22:58 +01:00
Roberto Raggi
959edbe10b Introduced a simple incremental lexer for GLSL. 2010-11-10 15:57:39 +01:00
Roberto Raggi
bc70a68817 Imported our new GLSL front-end. 2010-11-10 15:46:41 +01:00