aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com/jogamp/gluegen/jcpp/StringLexerSource.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-08-08 11:08:16 +0200
committerSven Gothel <[email protected]>2023-08-08 11:08:16 +0200
commite33d67ee14f6a5b999564b40ac0c659db92f2ce0 (patch)
tree2a314eb52ffc21f885e9bf42562234a9b93bdeea /src/main/java/com/jogamp/gluegen/jcpp/StringLexerSource.java
parent00f97cc623469377c59985898b9b765ae66c0aee (diff)
parent5e50e75ec33f5b4567cabfd60b6baca39524a8b7 (diff)
Merge remote-tracking branch 'upstream/master' into pulled
# Conflicts: # build.gradle # gradle.properties # gradle/wrapper/gradle-wrapper.jar # gradle/wrapper/gradle-wrapper.properties # gradlew # gradlew.bat # src/main/java/com/jogamp/gluegen/jcpp/MacroTokenSource.java # src/main/java/com/jogamp/gluegen/jcpp/Preprocessor.java # src/main/java/com/jogamp/gluegen/jcpp/SourceIterator.java # src/main/java/org/anarres/cpp/Main.java # src/test/java/com/jogamp/gluegen/jcpp/PragmaTest.java # src/test/java/com/jogamp/gluegen/jcpp/RegressionTest.java # src/test/java/com/jogamp/gluegen/jcpp/VaArgsPastingTest.java
Diffstat (limited to 'src/main/java/com/jogamp/gluegen/jcpp/StringLexerSource.java')
-rw-r--r--src/main/java/com/jogamp/gluegen/jcpp/StringLexerSource.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main/java/com/jogamp/gluegen/jcpp/StringLexerSource.java b/src/main/java/com/jogamp/gluegen/jcpp/StringLexerSource.java
index 568bdca..a26fbe3 100644
--- a/src/main/java/com/jogamp/gluegen/jcpp/StringLexerSource.java
+++ b/src/main/java/com/jogamp/gluegen/jcpp/StringLexerSource.java
@@ -1,6 +1,6 @@
/*
* Anarres C Preprocessor
- * Copyright (c) 2007-2008, Shevek
+ * Copyright (c) 2007-2015, Shevek
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -29,6 +29,7 @@ public class StringLexerSource extends LexerSource {
/**
* Creates a new Source for lexing the given String.
*
+ * @param string The input string to lex.
* @param ppvalid true if preprocessor directives are to be
* honoured within the string.
*/
@@ -39,8 +40,12 @@ public class StringLexerSource extends LexerSource {
/**
* Creates a new Source for lexing the given String.
*
+ * Equivalent to calling <code>new StringLexerSource(string, false)</code>.
+ *
* By default, preprocessor directives are not honoured within
* the string.
+ *
+ * @param string The input string to lex.
*/
public StringLexerSource(String string) {
this(string, false);